From 8ccf4d5aaee1b52cfc3b5f102c5c5d68979a0e96 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 11 Mar 2025 08:02:31 +0100 Subject: [PATCH] python312Packages.textual-autocomplete: 3.0.0a13 -> 4.0.0a0 --- .../textual-autocomplete/default.nix | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/textual-autocomplete/default.nix b/pkgs/development/python-modules/textual-autocomplete/default.nix index c609a33b77b0..193154863332 100644 --- a/pkgs/development/python-modules/textual-autocomplete/default.nix +++ b/pkgs/development/python-modules/textual-autocomplete/default.nix @@ -1,31 +1,28 @@ { lib, - python3, - fetchFromGitHub, + buildPythonPackage, + fetchPypi, poetry-core, textual, typing-extensions, hatchling, }: -python3.pkgs.buildPythonPackage rec { - pname = "textual_autocomplete"; - version = "3.0.0a13"; +buildPythonPackage rec { + pname = "textual-autocomplete"; + version = "4.0.0a0"; pyproject = true; - src = fetchFromGitHub { - owner = "darrenburns"; - repo = "textual-autocomplete"; - rev = "2cb572bf5b1ea0554b396d0833dfb398cb45dc9b"; - hash = "sha256-jfGYC3xDspwEr+KGApGB05VFuzluDe5S9a/Sjg5HtdI="; + src = fetchPypi { + pname = "textual_autocomplete"; + inherit version; + hash = "sha256-wsjmgODvFgfbyqxW3jsH88JC8z0TZQOChLgics7wAHY="; }; - nativeBuildInputs = [ + build-system = [ poetry-core hatchling ]; - pythonRelaxDeps = true; - dependencies = [ textual typing-extensions @@ -36,9 +33,12 @@ python3.pkgs.buildPythonPackage rec { "typing_extensions" ]; + # No tests in the Pypi archive + doCheck = false; + meta = { description = "Python library that provides autocomplete capabilities to textual"; - homepage = "https://pypi.org/project/textual-autocomplete"; + homepage = "https://github.com/darrenburns/textual-autocomplete"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jorikvanveen ]; };