ramalama: 0.17.1 -> 0.18.0 (#504234)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
go-md2man,
|
||||
|
||||
llama-cpp-vulkan,
|
||||
@@ -15,14 +16,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "ramalama";
|
||||
version = "0.17.1";
|
||||
version = "0.18.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "ramalama";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BXUWNP3yxuDsL1gY28oWhlu+vTIezYpDbScUsOulyYA=";
|
||||
hash = "sha256-AqX8pNbeDPCxlwaSJg4+XVrfypvXGR77q8tkI7t3vTY=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@@ -42,6 +43,14 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
go-md2man
|
||||
];
|
||||
|
||||
patches = [
|
||||
# fix darwin tests: https://github.com/containers/ramalama/pull/2567
|
||||
(fetchpatch {
|
||||
url = "https://github.com/containers/ramalama/commit/2b51b749b706261a5f704b4d785dbd45447b14b6.patch";
|
||||
hash = "sha256-HV7gn0W7b0P7OS53Js5JdHoFjvE7tO4e3RMReGZpRIo=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ramalama/config.py --replace-fail "{sys.prefix}" "$out"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user