2020-09-11 23:07:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, urwid
|
|
|
|
, glibcLocales
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "urwid_readline";
|
2021-04-09 08:47:45 +00:00
|
|
|
version = "0.13";
|
2020-09-11 23:07:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-09 08:47:45 +00:00
|
|
|
sha256 = "sha256-AYAgy8hku17Ye+F9wmsGnq4nVcsp86nFaarDve0e+vQ=";
|
2020-09-11 23:07:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|