forked from mirrors/nixpkgs
python2Packages.variants: fix tests
This commit is contained in:
parent
3238302827
commit
85210bff62
|
@ -1,10 +1,13 @@
|
|||
{ buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, pytestrunner
|
||||
, setuptools_scm
|
||||
, singledispatch
|
||||
, pytest
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "variants";
|
||||
version = "0.2.0";
|
||||
|
@ -21,12 +24,12 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
] ++ lib.optionals isPy27 [ singledispatch ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
|
||||
homepage = "https://github.com/python-variants/variants";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue