2019-12-20 16:29:35 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales }:
|
2017-10-29 11:12:42 +00:00
|
|
|
|
2019-08-20 16:46:06 +00:00
|
|
|
buildPythonPackage rec {
|
2017-10-29 11:12:42 +00:00
|
|
|
pname = "urwid";
|
2020-07-27 21:57:33 +00:00
|
|
|
version = "2.1.1";
|
2017-10-29 11:12:42 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-27 21:57:33 +00:00
|
|
|
sha256 = "09nmi2nmvpcmbh3w3fb0dn0c7yp7r20i5pfcr6q722xh6mp8cw3q";
|
2017-10-29 11:12:42 +00:00
|
|
|
};
|
|
|
|
|
2019-12-20 16:29:35 +00:00
|
|
|
# tests need to be able to set locale
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
checkInputs = [ glibcLocales ];
|
|
|
|
|
2017-10-29 11:12:42 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A full-featured console (xterm et al.) user interface library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://excess.org/urwid";
|
|
|
|
repositories.git = "git://github.com/wardi/urwid.git";
|
2017-10-29 11:12:42 +00:00
|
|
|
license = licenses.lgpl21;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-10-29 11:12:42 +00:00
|
|
|
};
|
2019-08-20 16:46:06 +00:00
|
|
|
}
|