nixpkgs/pkgs/development/python-modules/urwid/default.nix

30 lines
798 B
Nix
Raw Normal View History

2020-08-25 17:16:30 +01:00
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPy27, glibcLocales }:
2019-08-20 17:46:06 +01:00
buildPythonPackage rec {
pname = "urwid";
2020-07-27 22:57:33 +01:00
version = "2.1.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-07-27 22:57:33 +01:00
sha256 = "09nmi2nmvpcmbh3w3fb0dn0c7yp7r20i5pfcr6q722xh6mp8cw3q";
};
# tests need to be able to set locale
LC_ALL = "en_US.UTF-8";
checkInputs = [ glibcLocales ];
2020-08-23 18:29:20 +01:00
# 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; [ ];
};
2019-08-20 17:46:06 +01:00
}