nixpkgs/pkgs/development/python-modules/ipdb/default.nix
2020-03-30 16:02:16 -07:00

32 lines
612 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, ipython
, isPyPy
}:
buildPythonPackage rec {
pname = "ipdb";
version = "0.13.2";
disabled = isPyPy; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
sha256 = "0jcd849rx30y3wcgzsqbn06v0yjlzvb9x3076q0yxpycdwm1ryvp";
};
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 ];
};
}