1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 pname = "pytest-subtesthack"; 10 version = "0.2.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-67UEIDycAf3TedKvp0dofct7HtG+H8DD9Tmy3oEnYgA="; 16 }; 17 18 buildInputs = [ pytest ]; 19 20 # no upstream test 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Terrible plugin to set up and tear down fixtures within the test function itself"; 25 homepage = "https://github.com/untitaker/pytest-subtesthack"; 26 license = licenses.publicDomain; 27 }; 28}