pythonPackages.pudb: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:42:49 -04:00 committed by Frederik Rietdijk
parent 2d5c53ce49
commit a4ff15029a
2 changed files with 30 additions and 19 deletions

View 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;
};
}

View File

@ -2056,25 +2056,7 @@ in {
prov = callPackage ../development/python-modules/prov { };
pudb = buildPythonPackage rec {
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;
};
};
pudb = callPackage ../development/python-modules/pudb { };
pybtex = callPackage ../development/python-modules/pybtex {};