From 2d38cad288207e1f8eb27d1ddea097e58a621e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A4tzel?= Date: Sun, 23 Oct 2016 23:13:36 +0200 Subject: [PATCH] enhance python version check --- pkgs/applications/misc/urlscan/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/urlscan/default.nix b/pkgs/applications/misc/urlscan/default.nix index 2d01d203ba1e..b686c4ba9c44 100644 --- a/pkgs/applications/misc/urlscan/default.nix +++ b/pkgs/applications/misc/urlscan/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ urwid ]; # FIXME doesn't work with 2.7; others than 2.7 and 3.5 were not tested (yet) - disabled = ! isPy35; + disabled = !pythonOlder "3.5"; meta = with stdenv.lib; { description = "Mutt and terminal url selector (similar to urlview)";