Unverified Commit a16d675e authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python3Packages.llguidance: 1.4.0 -> 1.5.0 (#487873)

parents a3063d9a 1d3b3890
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})