mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python2Packages.variants: fix tests
This commit is contained in:
parent
3238302827
commit
85210bff62
1 changed files with 6 additions and 3 deletions
|
@ -1,10 +1,13 @@
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
|
, isPy27
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
|
, singledispatch
|
||||||
, pytest
|
, pytest
|
||||||
, lib
|
, lib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "variants";
|
pname = "variants";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
@ -21,12 +24,12 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
];
|
] ++ lib.optionals isPy27 [ singledispatch ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
|
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
|
||||||
homepage = "https://github.com/python-variants/variants";
|
homepage = "https://github.com/python-variants/variants";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ rakesh4g ];
|
maintainers = with maintainers; [ rakesh4g ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue