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-11-04 10:35:10 +00:00
version = "0.8.0";
2017-12-29 19:22:43 +00:00
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:10 +00:00
sha256 = "447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095";
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 ];
};
}