2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 15:42:49 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pygments
|
|
|
|
, urwid
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pudb";
|
2021-03-24 09:28:21 +00:00
|
|
|
version = "2020.1";
|
2018-10-16 15:42:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:21 +00:00
|
|
|
sha256 = "2ef23d3371439f13fffbe7f8b9fc180a19d4183dc9cab204d878d7c7766464bf";
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 15:42:49 +01:00
|
|
|
description = "A full-screen, console-based Python debugger";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|