depot/third_party/nixpkgs/pkgs/development/python-modules/urwid-readline/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
786 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
urwid,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "urwid-readline";
version = "0.14";
pyproject = true;
src = fetchFromGitHub {
owner = "rr-";
repo = "urwid_readline";
rev = "refs/tags/${version}";
hash = "sha256-ZTg+GZnu7R6Jf2+SIwVo57yHnjwuY92DElTJs8oRErE=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ urwid ];
pythonImportsCheck = [ "urwid_readline" ];
nativeCheckInputs = [ 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 ];
};
}