31 lines
610 B
Nix
31 lines
610 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ipython
|
|
, isPyPy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipdb";
|
|
version = "0.12.3";
|
|
disabled = isPyPy; # setupterm: could not find terminfo database
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1zbj7xjhkr44grfyv1hb7ff5n1218f9jjabgzica29vh7c74m6jx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ipython ];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/gotcha/ipdb;
|
|
description = "IPython-enabled pdb";
|
|
license = licenses.bsd0;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
|
|
}
|