Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pluggy / default.nix
bloba768e8ce942f9ce94ac5de93a415e07f5da17b0a
1 { buildPythonPackage
2 , lib
3 , fetchFromGitHub
4 , setuptools-scm
5 , pythonOlder
6 , importlib-metadata
7 , callPackage
8 }:
10 buildPythonPackage rec {
11   pname = "pluggy";
12   version = "1.4.0";
14   disabled = pythonOlder "3.8";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "pytest-dev";
20     repo = "pluggy";
21     rev = "refs/tags/${version}";
22     hash = "sha256-1XHJwODmpYQkYZvnZck6RrtT4lOeCf8cr1QFx9DCbzw=";
23   };
25   nativeBuildInputs = [ setuptools-scm ];
27   # To prevent infinite recursion with pytest
28   doCheck = false;
29   passthru.tests = {
30     pytest = callPackage ./tests.nix { };
31   };
33   meta = {
34     changelog = "https://github.com/pytest-dev/pluggy/blob/${src.rev}/CHANGELOG.rst";
35     description = "Plugin and hook calling mechanisms for Python";
36     homepage = "https://github.com/pytest-dev/pluggy";
37     license = lib.licenses.mit;
38     maintainers = with lib.maintainers; [ dotlambda ];
39   };