blob: 01d9523539c50a5805a0f8bf9cb9ce74c5b3e020 (
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
|
{ stdenv, buildPythonPackage, isPy3k, fetchPypi, glibcLocales }:
buildPythonPackage rec {
pname = "urwid";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "09nmi2nmvpcmbh3w3fb0dn0c7yp7r20i5pfcr6q722xh6mp8cw3q";
};
# tests need to be able to set locale
LC_ALL = "en_US.UTF-8";
checkInputs = [ glibcLocales ];
# tests which assert on strings don't decode results correctly
doCheck = isPy3k;
pythonImportsCheck = [ "urwid" ];
meta = with stdenv.lib; {
description = "A full-featured console (xterm et al.) user interface library";
homepage = "http://excess.org/urwid";
repositories.git = "git://github.com/wardi/urwid.git";
license = licenses.lgpl21;
maintainers = with maintainers; [ ];
};
}
|