Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "pytest-subtesthack"; 5 version = "0.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "15kzcr5pchf3id4ikdvlv752rc0j4d912n589l4rifp8qsj19l1x"; 10 }; 11 12 buildInputs = [ pytest ]; 13 14 # no upstream test 15 doCheck = false; 16 17 meta = with stdenv.lib; { 18 description = "Terrible plugin to set up and tear down fixtures within the test function itself"; 19 homepage = "https://github.com/untitaker/pytest-subtesthack"; 20 license = licenses.publicDomain; 21 }; 22}