chore(llama-swap): bump to version 189
Updated llama-swap to version 189 with corresponding hash updates. Adjusted UI sourceRoot from "ui" to "ui-svelte" to match upstream directory structure changes.
This commit is contained in:
@@ -13,13 +13,13 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "llama-swap";
|
pname = "llama-swap";
|
||||||
version = "186";
|
version = "189";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mostlygeek";
|
owner = "mostlygeek";
|
||||||
repo = "llama-swap";
|
repo = "llama-swap";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-3D+fQ9Lu0OfON694hWlv5QcuGS/zAlkOW+Q9AMq+RWQ=";
|
hash = "sha256-FCAXC7k0IJ+U6TTKRHkKkygbDeaQMAzA3vIax+yegTk=";
|
||||||
# populate values that require us to use git. By doing this in postFetch we
|
# populate values that require us to use git. By doing this in postFetch we
|
||||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
@@ -35,7 +35,7 @@ buildGoModule (finalAttrs: {
|
|||||||
vendorHash = "sha256-XiDYlw/byu8CWvg4KSPC7m8PGCZXtp08Y1velx4BR8U=";
|
vendorHash = "sha256-XiDYlw/byu8CWvg4KSPC7m8PGCZXtp08Y1velx4BR8U=";
|
||||||
|
|
||||||
passthru.ui = callPackage ./ui.nix { llama-swap = finalAttrs.finalPackage; };
|
passthru.ui = callPackage ./ui.nix { llama-swap = finalAttrs.finalPackage; };
|
||||||
passthru.npmDepsHash = "sha256-xz4z/Bxlbw7uuzRP0aWPRKSfhPAB++iToYnymu4RVSE=";
|
passthru.npmDepsHash = "sha256-Fs7+JKE8YBp2Xj8bVBlwmT+UwuD642VeUHiPx+fv94c=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
versionCheckHook
|
versionCheckHook
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ buildNpmPackage (finalAttrs: {
|
|||||||
--replace-fail "../proxy/ui_dist" "${placeholder "out"}/ui_dist"
|
--replace-fail "../proxy/ui_dist" "${placeholder "out"}/ui_dist"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/ui";
|
sourceRoot = "${finalAttrs.src.name}/ui-svelte";
|
||||||
|
|
||||||
# bundled "ui_dist" doesn't need node_modules
|
# bundled "ui_dist" doesn't need node_modules
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user