2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 15:42:49 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pygments
|
|
|
|
, urwid
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pudb";
|
2019-11-29 05:41:39 +00:00
|
|
|
version = "2019.2";
|
2018-10-16 15:42:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-29 05:41:39 +00:00
|
|
|
sha256 = "1p2qizb35f9lfhklldzrn8g9mwiar3zmpc44463h5n1ln40ymw78";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|