1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 fetchpatch,
6 setuptools,
7 urwid,
8}:
9
10buildPythonPackage rec {
11 pname = "urwidtrees";
12 version = "1.0.4";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "pazz";
17 repo = "urwidtrees";
18 tag = version;
19 hash = "sha256-MQy2b0Q3gTbY8lmmt39Z1Nix0UpQtj+14T/zE1F/YJ4=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 propagatedBuildInputs = [ urwid ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "urwidtrees" ];
30
31 meta = with lib; {
32 description = "Tree widgets for urwid";
33 homepage = "https://github.com/pazz/urwidtrees";
34 changelog = "https://github.com/pazz/urwidtrees/releases/tag/${src.tag}";
35 license = licenses.gpl3Plus;
36 maintainers = [ ];
37 };
38}