Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-runner / default.nix
blobf0c7acda466a3d813b0ee6ce1513dceb5ff0d855
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , pytest
6 }:
8 buildPythonPackage rec {
9   pname = "pytest-runner";
10   version = "6.0.1";
11   format = "pyproject";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-cNRzlYWnAI83v0kzwBP9sye4h4paafy7MxbIiILw9Js=";
16   };
18   postPatch = ''
19     rm pytest.ini
20   '';
22   nativeBuildInputs = [
23     setuptools-scm
24     pytest
25   ];
27   checkPhase = ''
28     py.test tests
29   '';
31   # Fixture not found
32   doCheck = false;
34   meta = with lib; {
35     description = "Invoke py.test as distutils command with dependency resolution";
36     homepage = "https://github.com/pytest-dev/pytest-runner";
37     license = licenses.mit;
38   };