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