2020-08-17 03:29:24 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy27, glibcLocales }:
|
2017-10-29 11:12:42 +00:00
|
|
|
|
2019-08-20 17:46:06 +01:00
|
|
|
buildPythonPackage rec {
|
2017-10-29 11:12:42 +00:00
|
|
|
pname = "urwid";
|
2020-07-27 22:57:33 +01:00
|
|
|
version = "2.1.1";
|
2020-08-17 03:29:24 +01:00
|
|
|
disabled = isPy27;
|
2017-10-29 11:12:42 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-27 22:57:33 +01: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 02:11:51 +01: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 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-10-29 11:12:42 +00:00
|
|
|
};
|
2019-08-20 17:46:06 +01:00
|
|
|
}
|