linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pytest-repeat / default.nix
blobb90e8ebef385168ab3f5ca25fc047eac54c39266
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools_scm
5 , pytest
6 , fetchpatch
7 }:
9 buildPythonPackage rec {
10   pname = "pytest-repeat";
11   version = "0.9.1";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
16   };
18   nativeBuildInputs = [
19     setuptools_scm
20   ];
22   checkInputs = [
23     pytest
24   ];
26   checkPhase = ''
27     pytest
28   '';
30   meta = with lib; {
31     description = "Pytest plugin for repeating tests";
32     homepage = "https://github.com/pytest-dev/pytest-repeat";
33     license = licenses.mpl20;
34     maintainers = with maintainers; [ costrouc ];
35   };