pythonPackages.ipdb: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 16:30:08 -04:00 committed by Frederik Rietdijk
parent 82d27cd4f4
commit 2750333f9d
2 changed files with 29 additions and 11 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, ipython
, isPyPy
}:
buildPythonPackage rec {
pname = "ipdb";
version = "0.8.1";
disabled = isPyPy; # setupterm: could not find terminfo database
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1763d1564113f5eb89df77879a8d3213273c4d7ff93dcb37a3070cdf0c34fd7c";
};
propagatedBuildInputs = [ ipython ];
meta = with stdenv.lib; {
homepage = https://github.com/gotcha/ipdb;
description = "IPython-enabled pdb";
license = licenses.bsd0;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -5591,17 +5591,7 @@ in {
ipaddress = callPackage ../development/python-modules/ipaddress { };
ipdb = buildPythonPackage rec {
name = "ipdb-${version}";
version = "0.8.1";
disabled = isPyPy; # setupterm: could not find terminfo database
src = pkgs.fetchurl {
url = "mirror://pypi/i/ipdb/${name}.zip";
sha256 = "1763d1564113f5eb89df77879a8d3213273c4d7ff93dcb37a3070cdf0c34fd7c";
};
propagatedBuildInputs = with self; [ ipython ];
};
ipdb = callPackage ../development/python-modules/ipdb { };
ipdbplugin = buildPythonPackage {
name = "ipdbplugin-1.4";