ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pudb / default.nix
blobc135b0b5ccf22c7d6a0fe1936eb78bbe675a8494
1 { lib
2 , buildPythonPackage
3 , dataclasses
4 , fetchPypi
5 , jedi
6 , pygments
7 , urwid
8 , urwid-readline
9 , pytest-mock
10 , pytestCheckHook
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "pudb";
16   version = "2022.1.2";
17   format = "setuptools";
19   disabled = pythonOlder "3.6";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-a4OrgFvdtTcQEJaQoiN+mL+DwLOgADPFF8319qj6Rw0=";
24   };
26   propagatedBuildInputs = [
27     jedi
28     pygments
29     urwid
30     urwid-readline
31   ] ++ lib.optionals (pythonOlder "3.7") [
32     dataclasses
33   ];
35   checkInputs = [
36     pytest-mock
37     pytestCheckHook
38   ];
40   preCheck = ''
41     export HOME=$TMPDIR
42   '';
44   pythonImportsCheck = [
45     "pudb"
46   ];
48   meta = with lib; {
49     description = "A full-screen, console-based Python debugger";
50     homepage = "https://github.com/inducer/pudb";
51     license = licenses.mit;
52     maintainers = with maintainers; [ ];
53   };