Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 36 lines 623 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, pytest 6, fetchpatch 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-repeat"; 11 version = "0.8.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j"; 16 }; 17 18 nativeBuildInputs = [ 19 setuptools_scm 20 ]; 21 22 checkInputs = [ 23 pytest 24 ]; 25 26 checkPhase = '' 27 pytest 28 ''; 29 30 meta = with lib; { 31 description = "Pytest plugin for repeating tests"; 32 homepage = "https://github.com/pytest-dev/pytest-repeat"; 33 license = licenses.mpl20; 34 maintainers = with maintainers; [ costrouc ]; 35 }; 36}