2017-12-29 19:22:43 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2018-08-13 07:29:19 +00:00
|
|
|
, setuptools_scm
|
2017-12-29 19:22:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pluggy";
|
2019-01-17 15:13:04 +00:00
|
|
|
version = "0.8.1";
|
2017-12-29 19:22:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 15:13:04 +00:00
|
|
|
sha256 = "8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616";
|
2017-12-29 19:22:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# To prevent infinite recursion with pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-08-13 07:29:19 +00: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;
|
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
|
|
|
}
|