nixpkgs/pkgs/development/python-modules/pluggy/default.nix

35 lines
697 B
Nix
Raw Normal View History

2017-12-29 19:22:43 +00:00
{ buildPythonPackage
, lib
, fetchPypi
2018-08-13 07:29:19 +00:00
, setuptools_scm
2019-06-15 17:15:01 +00:00
, importlib-metadata
2017-12-29 19:22:43 +00:00
}:
buildPythonPackage rec {
pname = "pluggy";
2019-10-16 14:37:27 +00:00
version = "0.13.0";
2017-12-29 19:22:43 +00:00
src = fetchPypi {
inherit pname version;
2019-10-16 14:37:27 +00:00
sha256 = "fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34";
2017-12-29 19:22:43 +00:00
};
checkPhase = ''
py.test
'';
# To prevent infinite recursion with pytest
doCheck = false;
2019-06-15 17:15:01 +00:00
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ importlib-metadata ];
2018-08-13 07:29:19 +00:00
2017-12-29 19:22:43 +00:00
meta = {
description = "Plugin and hook calling mechanisms for Python";
2019-05-25 01:00:00 +00:00
homepage = "https://github.com/pytest-dev/pluggy";
2017-12-29 19:22:43 +00:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
2017-12-29 19:22:43 +00:00
};
}