nixpkgs-suyu/pkgs/development/python-modules/pluggy/default.nix
2017-12-31 11:01:52 +01:00

29 lines
No EOL
579 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "pluggy";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff";
};
checkPhase = ''
py.test
'';
# To prevent infinite recursion with pytest
doCheck = false;
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 ];
};
}