Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 34 lines 646 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python-toolbox 5, pytest 6, isPy27 7}: 8 9buildPythonPackage rec { 10 version = "0.3.0"; 11 pname = "pysnooper"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "PySnooper"; 16 sha256 = "14vcxrzfmfhsmdck1cb56a6lbfga15qfhlkap9mh47fgspcq8xkx"; 17 }; 18 19 # test dependency python-toolbox fails with py27 20 doCheck = !isPy27; 21 22 checkInputs = [ 23 python-toolbox 24 pytest 25 ]; 26 27 meta = with lib; { 28 description = "A poor man's debugger for Python"; 29 homepage = https://github.com/cool-RR/PySnooper; 30 license = licenses.mit; 31 maintainers = with maintainers; [ seqizz ]; 32 broken = true; 33 }; 34}