2017-12-29 20:22:43 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
|
|
|
, fetchPypi
|
2018-08-13 09:29:19 +02:00
|
|
|
, setuptools_scm
|
2017-12-29 20:22:43 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pluggy";
|
2018-11-04 11:35:10 +01:00
|
|
|
version = "0.8.0";
|
2017-12-29 20:22:43 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:35:10 +01:00
|
|
|
sha256 = "447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095";
|
2017-12-29 20:22:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# To prevent infinite recursion with pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-08-13 09:29:19 +02:00
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
2017-12-29 20:22:43 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|