summary refs log tree commit diff
path: root/pkgs/development/python-modules/urwidtrees/default.nix
blob: 468420f0e5ceb6bb1f99feb200b576cd14fc9b5f (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
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, glibcLocales
, urwid
}:

buildPythonPackage rec {
  pname = "urwidtrees";
  version  = "1.0.2";

  src = fetchFromGitHub {
    owner = "pazz";
    repo = "urwidtrees";
    rev = version;
    sha256 = "1n1kpidvkdnsqyb82vlvk78gmly96kh8351lqxn2pzgwwns6fml2";
  };

  propagatedBuildInputs = [ urwid ];

  checkInputs = [ glibcLocales ];
  LC_ALL="en_US.UTF-8";

  meta = with stdenv.lib; {
    description = "Tree widgets for urwid";
    homepage = https://github.com/pazz/urwidtrees;
    license = licenses.gpl3;
  };

}