Skip to content

Commit

Permalink
python.pkgs.urwid-readline: init at 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Sep 11, 2020
1 parent c9c5be8 commit bc402f3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/urwid-readline/default.nix
@@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, urwid
, glibcLocales
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "urwid_readline";
version = "0.11";

src = fetchPypi {
inherit pname version;
sha256 = "24e376d4b75940d19e8bc81c264be5d383f8d4da560f68f648dd16c85f6afdb5";
};

propagatedBuildInputs = [
urwid
];

checkInputs = [
glibcLocales
pytestCheckHook
];

meta = with lib; {
description = "A textbox edit widget for urwid that supports readline shortcuts";
homepage = "https://github.com/rr-/urwid_readline";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -7230,6 +7230,8 @@ in {

urwidtrees = callPackage ../development/python-modules/urwidtrees { };

urwid-readline = callPackage ../development/python-modules/urwid-readline { };

usbtmc = callPackage ../development/python-modules/usbtmc { };

us = callPackage ../development/python-modules/us { };
Expand Down

0 comments on commit bc402f3

Please sign in to comment.