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