summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-12-09 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-12-09 04:20:00 -0500
commit5d5998e08af91e88c74d4c696be31e56216d7bd4 (patch)
tree0a8b082e821ab7b0e58783ff2fd9280e9b107f0a /pkgs
parentc4783fcccd28ebbc6b035f7653f10b29d43dac17 (diff)
downloadnixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar.gz
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar.bz2
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar.lz
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar.xz
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.tar.zst
nixpkgs-5d5998e08af91e88c74d4c696be31e56216d7bd4.zip
python3Packages.numericalunits: disable for python2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/numericalunits/default.nix4
1 files 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;