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