1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "pytest-subtesthack"; 5 version = "0.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-67UEIDycAf3TedKvp0dofct7HtG+H8DD9Tmy3oEnYgA="; 10 }; 11 12 buildInputs = [ pytest ]; 13 14 # no upstream test 15 doCheck = false; 16 17 meta = with 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}