2018-10-15 21:30:08 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ipython
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipdb";
|
2020-03-03 07:23:48 +00:00
|
|
|
version = "0.13.0";
|
2018-10-15 21:30:08 +01:00
|
|
|
disabled = isPyPy; # setupterm: could not find terminfo database
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-03 07:23:48 +00:00
|
|
|
sha256 = "0nbs9m2pqg4j10m7c31vyb8h7wy29d9s8kiv0k2igbr821k1y3xr";
|
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; {
|
2020-03-03 07:23:48 +00:00
|
|
|
homepage = "https://github.com/gotcha/ipdb";
|
2018-10-15 21:30:08 +01:00
|
|
|
description = "IPython-enabled pdb";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|