python3Packages.numericalunits: disable for python2

This commit is contained in:
Mario Rodas 2019-12-09 04:20:00 -05:00
parent c4783fcccd
commit 5d5998e08a
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -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;