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 ]; }; -} +})