1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pysnooper"; 10 version = "1.2.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "PySnooper"; 18 hash = "sha256-gQZp4WKiUKBm2GYuVzrbxa93DpN8W1V48ou3NV0chZs="; 19 }; 20 21 nativeCheckInputs = [ 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ 26 "pysnooper" 27 ]; 28 29 meta = with lib; { 30 description = "A poor man's debugger for Python"; 31 homepage = "https://github.com/cool-RR/PySnooper"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ seqizz ]; 34 }; 35}