mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
35 lines
697 B
Nix
35 lines
697 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchPypi
|
|
, setuptools_scm
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pluggy";
|
|
version = "0.13.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
# To prevent infinite recursion with pytest
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ importlib-metadata ];
|
|
|
|
meta = {
|
|
description = "Plugin and hook calling mechanisms for Python";
|
|
homepage = "https://github.com/pytest-dev/pluggy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|