1{ stdenv, buildPythonPackage, fetchPypi, glibcLocales }:
2
3buildPythonPackage rec {
4 pname = "urwid";
5 version = "2.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0896f36060beb6bf3801cb554303fef336a79661401797551ba106d23ab4cd86";
10 };
11
12 # tests need to be able to set locale
13 LC_ALL = "en_US.UTF-8";
14 checkInputs = [ glibcLocales ];
15
16 meta = with stdenv.lib; {
17 description = "A full-featured console (xterm et al.) user interface library";
18 homepage = http://excess.org/urwid;
19 repositories.git = git://github.com/wardi/urwid.git;
20 license = licenses.lgpl21;
21 maintainers = with maintainers; [ ];
22 };
23}