1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pysnooper"; 10 version = "1.1.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "PySnooper"; 18 hash = "sha256-0X3JHMoVk8ECMNzkXkax0/8PiRDww46UHt9roSYLOCA="; 19 }; 20 21 checkInputs = [ 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}