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

32 lines
617 B
Nix
Raw Normal View History

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";
2019-01-17 16:13:04 +01:00
version = "0.8.1";
2017-12-29 20:22:43 +01:00
src = fetchPypi {
inherit pname version;
2019-01-17 16:13:04 +01:00
sha256 = "8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616";
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; [ ];
2017-12-29 20:22:43 +01:00
};
}