1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, ipython
5, isPyPy
6}:
7
8buildPythonPackage rec {
9 pname = "ipdb";
10 version = "0.12.3";
11 disabled = isPyPy; # setupterm: could not find terminfo database
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1zbj7xjhkr44grfyv1hb7ff5n1218f9jjabgzica29vh7c74m6jx";
16 };
17
18 propagatedBuildInputs = [ ipython ];
19
20 preCheck = ''
21 export HOME=$(mktemp -d)
22 '';
23
24 meta = with stdenv.lib; {
25 homepage = https://github.com/gotcha/ipdb;
26 description = "IPython-enabled pdb";
27 license = licenses.bsd0;
28 maintainers = [ maintainers.costrouc ];
29 };
30
31}