depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix

37 lines
623 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, fetchpatch
}:
buildPythonPackage rec {
pname = "pytest-repeat";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
};
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 ];
};
}