pythonPackages.ipdb: refactor move to python-modules
This commit is contained in:
parent
82d27cd4f4
commit
2750333f9d
28
pkgs/development/python-modules/ipdb/default.nix
Normal file
28
pkgs/development/python-modules/ipdb/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
||||
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user