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

30 lines
810 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-10-25 09:06:58 +00:00
version = "2.1.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-10-25 09:06:58 +00:00
sha256 = "588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae";
};
# 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
}