diff --git a/pkgs/development/python-modules/textual-autocomplete/default.nix b/pkgs/development/python-modules/textual-autocomplete/default.nix new file mode 100644 index 0000000000000..9b9a9848ef9e0 --- /dev/null +++ b/pkgs/development/python-modules/textual-autocomplete/default.nix @@ -0,0 +1,33 @@ +{ + lib, + python3, + fetchPypi, + poetry-core, + textual, + typing-extensions, +}: +python3.pkgs.buildPythonPackage rec { + pname = "textual_autocomplete"; + version = "3.0.0a12"; + pyproject = true; + + # Alpha versions of this packages are only available on Pypi for some reason + src = fetchPypi { + inherit pname version; + sha256 = "sha256-HSyeTSTH9XWryMYSy2q//0cG9qqrm5OVBrldroRUkwk="; + }; + + nativeBuildInputs = [ poetry-core ]; + + dependencies = [ + textual + typing-extensions + ]; + + meta = { + description = "Python library that provides autocomplete capabilities to textual"; + homepage = "https://pypi.org/project/textual-autocomplete"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ jorikvanveen ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8e9a1128b354c..2957586b04128 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15544,6 +15544,8 @@ self: super: with self; { textual = callPackage ../development/python-modules/textual { }; + textual-autocomplete = callPackage ../development/python-modules/textual-autocomplete { }; + textual-dev = callPackage ../development/python-modules/textual-dev { }; textual-fastdatatable = callPackage ../development/python-modules/textual-fastdatatable { };