pythonPackages.pudb: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user