python3Packages.numericalunits: disable for python2
This commit is contained in:
parent
c4783fcccd
commit
5d5998e08a
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -12,8 +13,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
|
sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# no tests
|
disabled = !isPy3k;
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://pypi.python.org/pypi/numericalunits;
|
homepage = http://pypi.python.org/pypi/numericalunits;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user