1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pygments
5, urwid
6, isPy3k
7}:
8
9buildPythonPackage rec {
10 pname = "pudb";
11 version = "2019.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1p2qizb35f9lfhklldzrn8g9mwiar3zmpc44463h5n1ln40ymw78";
16 };
17
18 propagatedBuildInputs = [ pygments urwid ];
19
20 # Tests fail on python 3 due to writes to the read-only home directory
21 doCheck = !isPy3k;
22
23 meta = with stdenv.lib; {
24 description = "A full-screen, console-based Python debugger";
25 license = licenses.mit;
26 platforms = platforms.all;
27 };
28
29}