2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 20:30:08 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ipython
|
|
|
|
, isPyPy
|
2020-11-06 04:53:31 +00:00
|
|
|
, mock
|
2021-06-07 14:23:47 +00:00
|
|
|
, toml
|
2018-10-15 20:30:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipdb";
|
2021-06-18 21:47:23 +00:00
|
|
|
version = "0.13.9";
|
2021-06-07 14:23:47 +00:00
|
|
|
disabled = isPyPy; # setupterm: could not find terminfo database
|
2018-10-15 20:30:08 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:23 +00:00
|
|
|
sha256 = "951bd9a64731c444fd907a5ce268543020086a697f6be08f7cc2c9a752a278c5";
|
2018-10-15 20:30:08 +00:00
|
|
|
};
|
|
|
|
|
2021-06-07 14:23:47 +00:00
|
|
|
propagatedBuildInputs = [ ipython toml ];
|
2020-11-06 04:53:31 +00:00
|
|
|
checkInputs = [ mock ];
|
2018-10-15 20:30:08 +00:00
|
|
|
|
2019-04-08 18:27:32 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-03 07:23:48 +00:00
|
|
|
homepage = "https://github.com/gotcha/ipdb";
|
2018-10-15 20:30:08 +00:00
|
|
|
description = "IPython-enabled pdb";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|