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 00000000000000..4e0de6823c661e --- /dev/null +++ b/pkgs/development/python-modules/textual-autocomplete/default.nix @@ -0,0 +1,41 @@ +{ + lib, + python3, + fetchPypi, + poetry-core, + textual, + typing-extensions, + hatchling +}: +python3.pkgs.buildPythonPackage rec { + pname = "textual_autocomplete"; + version = "3.0.0a13"; + pyproject = true; + + # Alpha versions of this packages are only available on Pypi for some reason + src = fetchPypi { + inherit pname version; + hash = "sha256-21pK6VbdfW3s5T9/aV6X8qt1gZ3Za4ocBk7Flms6sRM="; + }; + + nativeBuildInputs = [ poetry-core hatchling ]; + + pythonRelaxDeps = true; + + dependencies = [ + textual + typing-extensions + ]; + + pythonImportsCheck = [ + "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 481a660c4f4758..7c7142b4d7919d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16005,6 +16005,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 { };