From 5d5998e08af91e88c74d4c696be31e56216d7bd4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 9 Dec 2019 04:20:00 -0500 Subject: [PATCH] python3Packages.numericalunits: disable for python2 --- pkgs/development/python-modules/numericalunits/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numericalunits/default.nix b/pkgs/development/python-modules/numericalunits/default.nix index 236c3d1e82e..3f041ef698e 100644 --- a/pkgs/development/python-modules/numericalunits/default.nix +++ b/pkgs/development/python-modules/numericalunits/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy3k }: buildPythonPackage rec { @@ -12,8 +13,7 @@ buildPythonPackage rec { sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs"; }; - # no tests - doCheck = false; + disabled = !isPy3k; meta = with stdenv.lib; { homepage = http://pypi.python.org/pypi/numericalunits;