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

35 lines
674 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, ipython
, isPyPy
2020-11-06 04:30:48 +00:00
, isPy27
, mock
}:
buildPythonPackage rec {
pname = "ipdb";
2020-10-25 09:06:53 +00:00
version = "0.13.4";
2020-11-06 04:30:48 +00:00
disabled = isPyPy || isPy27; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
2020-10-25 09:06:53 +00:00
sha256 = "c85398b5fb82f82399fc38c44fe3532c0dde1754abee727d8f5cfcc74547b334";
};
propagatedBuildInputs = [ ipython ];
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 ];
};
}