depot/third_party/nixpkgs/pkgs/development/python-modules/ipdb/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

31 lines
612 B
Nix

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