2018-10-16 15:42:49 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pygments
|
|
|
|
, urwid
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pudb";
|
2019-05-02 08:48:29 +01:00
|
|
|
version = "2019.1";
|
2018-10-16 15:42:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-02 08:48:29 +01:00
|
|
|
sha256 = "19imrr17jnkd6fd2w1zzh63z0hcipg5b9v2x4svqm5c08p3cyc5c";
|
2018-10-16 15:42:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|