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

29 lines
579 B
Nix
Raw Normal View History

2017-12-29 20:22:43 +01:00
{ 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 ];
};
}