depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

35 lines
622 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
];
checkInputs = [
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 ];
};
}