1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchPypi
5, jedi
6, pygments
7, urwid
8, pytest-mock
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "pudb";
14 version = "2021.1";
15 disabled = !isPy3k;
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "309ee82b45a0ffca0bc4c7f521fd3e357589c764f339bdf9dcabb7ad40692d6e";
20 };
21
22 propagatedBuildInputs = [
23 jedi
24 pygments
25 urwid
26 ];
27
28 preCheck = ''
29 export HOME=$TMPDIR
30 '';
31
32 checkInputs = [
33 pytest-mock
34 pytestCheckHook
35 ];
36
37 meta = with lib; {
38 description = "A full-screen, console-based Python debugger";
39 homepage = "https://github.com/inducer/pudb";
40 license = licenses.mit;
41 maintainers = with maintainers; [ ];
42 };
43}