summary refs log tree commit diff
path: root/pkgs/development/python-modules/pudb/default.nix
blob: 3459c5c99742f10912f3aaaf82f38ca926936244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, jedi
, pygments
, urwid
, pytest-mock
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pudb";
  version = "2021.1";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "309ee82b45a0ffca0bc4c7f521fd3e357589c764f339bdf9dcabb7ad40692d6e";
  };

  propagatedBuildInputs = [
    jedi
    pygments
    urwid
  ];

  preCheck = ''
    export HOME=$TMPDIR
  '';

  checkInputs = [
    pytest-mock
    pytestCheckHook
  ];

  meta = with lib; {
    description = "A full-screen, console-based Python debugger";
    homepage = "https://github.com/inducer/pudb";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}