pythonPackages.pudb: refactor move to python-modules
This commit is contained in:
parent
2d5c53ce49
commit
a4ff15029a
29
pkgs/development/python-modules/pudb/default.nix
Normal file
29
pkgs/development/python-modules/pudb/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pygments
|
||||||
|
, urwid
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pudb";
|
||||||
|
version = "2016.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0njhi49d9fxbwh5p8yjx8m3jlfyzfm00b5aff6bz473pn7vxfn79";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pygments urwid ];
|
||||||
|
|
||||||
|
# Tests fail on python 3 due to writes to the read-only home directory
|
||||||
|
doCheck = !isPy3k;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A full-screen, console-based Python debugger";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2056,25 +2056,7 @@ in {
|
|||||||
|
|
||||||
prov = callPackage ../development/python-modules/prov { };
|
prov = callPackage ../development/python-modules/prov { };
|
||||||
|
|
||||||
pudb = buildPythonPackage rec {
|
pudb = callPackage ../development/python-modules/pudb { };
|
||||||
name = "pudb-2016.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pudb/${name}.tar.gz";
|
|
||||||
sha256 = "0njhi49d9fxbwh5p8yjx8m3jlfyzfm00b5aff6bz473pn7vxfn79";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pygments urwid ];
|
|
||||||
|
|
||||||
# Tests fail on python 3 due to writes to the read-only home directory
|
|
||||||
doCheck = !isPy3k;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A full-screen, console-based Python debugger";
|
|
||||||
license = licenses.mit;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pybtex = callPackage ../development/python-modules/pybtex {};
|
pybtex = callPackage ../development/python-modules/pybtex {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user