1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pygments
5, urwid
6, isPy3k
7}:
8
9buildPythonPackage rec {
10 pname = "pudb";
11 version = "2018.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0vl7rbqyxa2vfa02dg7f5idf1j7awpfcj0dg46ks59xp8539g2wd";
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}