2018-10-28 17:04:08 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2019-12-20 16:29:55 +00:00
|
|
|
, glibcLocales
|
2018-10-28 17:04:08 +00:00
|
|
|
, urwid
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "urwidtrees";
|
2018-12-14 13:55:40 +00:00
|
|
|
version = "1.0.2";
|
2018-10-28 17:04:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pazz";
|
|
|
|
repo = "urwidtrees";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-12-14 13:55:40 +00:00
|
|
|
sha256 = "1n1kpidvkdnsqyb82vlvk78gmly96kh8351lqxn2pzgwwns6fml2";
|
2018-10-28 17:04:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ urwid ];
|
|
|
|
|
2019-12-20 16:29:55 +00:00
|
|
|
checkInputs = [ glibcLocales ];
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
2018-10-28 17:04:08 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tree widgets for urwid";
|
|
|
|
homepage = https://github.com/pazz/urwidtrees;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|