Files
nixpkgs/pkgs/development/python-modules/pytest-repeat/default.nix
T

37 lines
623 B
Nix
Raw Normal View History

2018-08-08 15:32:52 -04:00
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
, fetchpatch
2018-08-08 15:32:52 -04:00
}:
buildPythonPackage rec {
pname = "pytest-repeat";
version = "0.8.0";
2018-08-08 15:32:52 -04:00
src = fetchPypi {
inherit pname version;
sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
2018-08-08 15:32:52 -04:00
};
nativeBuildInputs = [
setuptools_scm
];
checkInputs = [
pytest
];
2018-08-08 15:32:52 -04:00
checkPhase = ''
pytest
2018-08-08 15:32:52 -04:00
'';
meta = with lib; {
2018-08-08 15:32:52 -04:00
description = "Pytest plugin for repeating tests";
homepage = "https://github.com/pytest-dev/pytest-repeat";
license = licenses.mpl20;
maintainers = with maintainers; [ costrouc ];
2018-08-08 15:32:52 -04:00
};
}