nixpkgs/pkgs/development/python-modules/ipdb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
659 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, ipython
, isPyPy
, mock
2021-06-07 14:23:47 +00:00
, toml
}:
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
src = fetchPypi {
inherit pname version;
2021-06-18 21:47:23 +00:00
sha256 = "951bd9a64731c444fd907a5ce268543020086a697f6be08f7cc2c9a752a278c5";
};
2021-06-07 14:23:47 +00:00
propagatedBuildInputs = [ ipython toml ];
checkInputs = [ mock ];
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
homepage = "https://github.com/gotcha/ipdb";
description = "IPython-enabled pdb";
license = licenses.bsd0;
maintainers = [ maintainers.costrouc ];
};
}