mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
29 lines
579 B
Nix
29 lines
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 ];
|
|
};
|
|
} |