Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-test-utils / default.nix
blob127b0c163356167bba3f99fc7461c00f6ce3f859
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , setuptools-scm
6 , wheel
7 , pytestCheckHook
8 , pytest
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "pytest-test-utils";
14   version = "0.0.8";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "iterative";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-5gB+hnJR2+NQd/n7RGrX1bzfKt8Np7IbWw61SZgNVJY=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     setuptools-scm
29     wheel
30   ];
32   buildInputs = [
33     pytest
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "pytest_test_utils"
42   ];
44   meta = with lib; {
45     description = "Pytest utilities for tests";
46     homepage = "https://github.com/iterative/pytest-test-utils";
47     license = licenses.asl20;
48     maintainers = with maintainers; [ fab ];
49   };