diff --git a/pkgs/development/python-modules/gliner/default.nix b/pkgs/development/python-modules/gliner/default.nix index 0beea9f23897..9d8eaeaf0e5a 100644 --- a/pkgs/development/python-modules/gliner/default.nix +++ b/pkgs/development/python-modules/gliner/default.nix @@ -15,16 +15,16 @@ transformers, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "gliner"; - version = "0.2.24"; + version = "0.2.25"; pyproject = true; src = fetchFromGitHub { owner = "urchade"; repo = "GLiNER"; - tag = "v${version}"; - hash = "sha256-6kSt+c2UT0rvJDFHzRPTDffBG9X/2Mxs7RSZVgWG7jo="; + tag = "v${finalAttrs.version}"; + hash = "sha256-4IPT8mW3I998T9W/qDJRZifZYRJUyjeu54gtsOnFNWY="; }; build-system = [ @@ -51,7 +51,7 @@ buildPythonPackage rec { meta = { description = "Generalist and Lightweight Model for Named Entity Recognition"; homepage = "https://github.com/urchade/GLiNER"; - changelog = "https://github.com/urchade/GLiNER/releases/tag/${src.tag}"; + changelog = "https://github.com/urchade/GLiNER/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ @@ -60,4 +60,4 @@ buildPythonPackage rec { "aarch64-linux" ]; }; -} +})