Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 31 lines 610 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, ipython 5, isPyPy 6}: 7 8buildPythonPackage rec { 9 pname = "ipdb"; 10 version = "0.12.2"; 11 disabled = isPyPy; # setupterm: could not find terminfo database 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "0mzfv2sa8qabqzh2vqgwhavb15gsmcgqn6i3jgq6b5q9i9wxsgs7"; 16 }; 17 18 propagatedBuildInputs = [ ipython ]; 19 20 preCheck = '' 21 export HOME=$(mktemp -d) 22 ''; 23 24 meta = with stdenv.lib; { 25 homepage = https://github.com/gotcha/ipdb; 26 description = "IPython-enabled pdb"; 27 license = licenses.bsd0; 28 maintainers = [ maintainers.costrouc ]; 29 }; 30 31}