2018-10-15 20:30:08 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ipython
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipdb";
|
2019-12-09 05:00:54 +00:00
|
|
|
version = "0.12.3";
|
2018-10-15 20:30:08 +00:00
|
|
|
disabled = isPyPy; # setupterm: could not find terminfo database
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-09 05:00:54 +00:00
|
|
|
sha256 = "1zbj7xjhkr44grfyv1hb7ff5n1218f9jjabgzica29vh7c74m6jx";
|
2018-10-15 20:30:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ipython ];
|
|
|
|
|
2019-04-08 18:27:32 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
2018-10-15 20:30:08 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/gotcha/ipdb;
|
|
|
|
description = "IPython-enabled pdb";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|