depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

35 lines
628 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pytest
}:
buildPythonPackage rec {
pname = "pytest-repeat";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
};
nativeBuildInputs = [
setuptools-scm
];
nativeCheckInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Pytest plugin for repeating tests";
homepage = "https://github.com/pytest-dev/pytest-repeat";
license = licenses.mpl20;
maintainers = with maintainers; [ costrouc ];
};
}