python3Packages.gguf: 8292 -> 8545 (#503904)

This commit is contained in:
Michael Daniels
2026-04-04 03:17:52 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
# build-system
poetry-core,
@@ -19,14 +20,14 @@
buildPythonPackage (finalAttrs: {
pname = "gguf";
version = "8292";
version = "8545";
pyproject = true;
src = fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b${finalAttrs.version}";
hash = "sha256-nlUG9b+LGKdQ4kfUTqWUPgqavOMVhD8mAYwf3WARO3s=";
hash = "sha256-sb0fSpzwyl2Ws270if/4Ts75J3E6mGEJ/N5GDjzgg6A=";
};
sourceRoot = "${finalAttrs.src.name}/gguf-py";
@@ -48,6 +49,13 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "gguf" ];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"b(.*)"
];
};
meta = {
description = "Module for writing binary files in the GGUF format";
homepage = "https://ggml.ai/";