From 1d3b3890ef91b975c180f43364d044cffaf50656 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 7 Feb 2026 04:51:32 +0000 Subject: [PATCH] python3Packages.llguidance: 1.4.0 -> 1.5.0 --- .../python-modules/llguidance/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/llguidance/default.nix b/pkgs/development/python-modules/llguidance/default.nix index a7e60c9717c5..46d1c530e138 100644 --- a/pkgs/development/python-modules/llguidance/default.nix +++ b/pkgs/development/python-modules/llguidance/default.nix @@ -20,21 +20,21 @@ transformers, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "llguidance"; - version = "1.4.0"; + version = "1.5.0"; pyproject = true; src = fetchFromGitHub { owner = "guidance-ai"; repo = "llguidance"; - tag = "v${version}"; - hash = "sha256-+DRJIzFqJEeinwJVyXuRQ1niQmDoNhKLHrfvFnjDL8c="; + tag = "v${finalAttrs.version}"; + hash = "sha256-dLX01+8R6SbirFda10dufhMxARSVIXj2y8xIj95Od7A="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit src pname version; - hash = "sha256-SQ8ahSCJUaYF7PzPfRUjCdJTJ811oTyxiLDfRre2BO0="; + inherit (finalAttrs) src pname version; + hash = "sha256-fmQ+A6spWUR0bY5LG+MGW9uTFmYJPQjx8tGxkFXttgc="; }; nativeBuildInputs = [ @@ -96,8 +96,8 @@ buildPythonPackage rec { meta = { description = "Super-fast Structured Outputs"; homepage = "https://github.com/guidance-ai/llguidance"; - changelog = "https://github.com/guidance-ai/llguidance/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/guidance-ai/llguidance/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +})