python3Packages.ggml-python: 0.0.42 -> 0.0.44
add update script to find correct version tag
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
|
||||
# build-system
|
||||
cmake,
|
||||
@@ -34,7 +35,7 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ggml-python";
|
||||
version = "0.0.42";
|
||||
version = "0.0.44";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -44,7 +45,7 @@ buildPythonPackage (finalAttrs: {
|
||||
tag = "v${finalAttrs.version}";
|
||||
# ggml-python expects an older version of ggml than pkgs.ggml's
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-dbYxAropTT8h1BnMg4Ua1hY/IUYWHaZcS0ckj38UoO4=";
|
||||
hash = "sha256-Pjc91nKBAdmEg8TmirWdD1AcKlY+BCDAoHzL6mTE2SM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -92,6 +93,13 @@ buildPythonPackage (finalAttrs: {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^v([0-9.]+)$"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for ggml";
|
||||
homepage = "https://github.com/abetlen/ggml-python";
|
||||
|
||||
Reference in New Issue
Block a user