From 59977a77287440d5b5833fbaa38c2d0bba25c57e Mon Sep 17 00:00:00 2001 From: Jorik Date: Sat, 2 Nov 2024 15:11:57 +0100 Subject: [PATCH] python312Packages.textual-autocomplete: init at 3.0.0a12 --- .../textual-autocomplete/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/textual-autocomplete/default.nix 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..07cc715308928 --- /dev/null +++ b/pkgs/development/python-modules/textual-autocomplete/default.nix @@ -0,0 +1,24 @@ +{ 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 { };