3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pluggy/default.nix

31 lines
624 B
Nix
Raw Normal View History

2017-12-29 19:22:43 +00:00
{ buildPythonPackage
, lib
, fetchPypi
2018-08-13 08:29:19 +01:00
, setuptools_scm
2017-12-29 19:22:43 +00:00
}:
buildPythonPackage rec {
pname = "pluggy";
2018-08-13 08:29:19 +01:00
version = "0.7.1";
2017-12-29 19:22:43 +00:00
src = fetchPypi {
inherit pname version;
2018-08-13 08:29:19 +01:00
sha256 = "95eb8364a4708392bae89035f45341871286a333f749c3141c20573d2b3876e1";
2017-12-29 19:22:43 +00:00
};
checkPhase = ''
py.test
'';
# To prevent infinite recursion with pytest
doCheck = false;
2018-08-13 08:29:19 +01:00
buildInputs = [ setuptools_scm ];
2017-12-29 19:22:43 +00:00
meta = {
description = "Plugin and hook calling mechanisms for Python";
homepage = "https://pypi.python.org/pypi/pluggy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jgeerds ];
};
}