3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
2020-12-01 14:44:18 +01:00

37 lines
635 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, fetchpatch
}:
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 ];
};
}