From 67941eb7ec7c68146054ea51e6b006e4590884d7 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 30 Sep 2025 15:54:22 +0800 Subject: [PATCH] git-spice: 0.16.1 -> 0.18.0 --- pkgs/by-name/gi/git-spice/package.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/gi/git-spice/package.nix b/pkgs/by-name/gi/git-spice/package.nix index 6d82f58517b8..e5884ee9b448 100644 --- a/pkgs/by-name/gi/git-spice/package.nix +++ b/pkgs/by-name/gi/git-spice/package.nix @@ -1,25 +1,25 @@ { lib, stdenv, - buildGo124Module, + buildGoModule, fetchFromGitHub, git, nix-update-script, installShellFiles, }: -buildGo124Module rec { +buildGoModule (finalAttrs: { pname = "git-spice"; - version = "0.16.1"; + version = "0.18.0"; src = fetchFromGitHub { owner = "abhinav"; repo = "git-spice"; - tag = "v${version}"; - hash = "sha256-SILcEXyUo73c8gPDDESCkm/eQIh8elM850qwJqTyO6E="; + tag = "v${finalAttrs.version}"; + hash = "sha256-9Gt4dS1Wu3w/iS0vtYO3XHyknKQEveob9slwNA/HAks="; }; - vendorHash = "sha256-T6zSwQdDWYQqe8trIlhpU8dUQXtz8OGmnW5L5AVjGn8="; + vendorHash = "sha256-VCUNaWi14Pc39ncWzZZsdsZSd+IxYFhbm1cfTZ40dMw="; subPackages = [ "." ]; @@ -32,7 +32,7 @@ buildGo124Module rec { ldflags = [ "-s" "-w" - "-X=main._version=${version}" + "-X=main._version=${finalAttrs.version}" ]; __darwinAllowLocalNetworking = true; @@ -55,9 +55,9 @@ buildGo124Module rec { meta = { description = "Manage stacked Git branches"; homepage = "https://abhinav.github.io/git-spice/"; - changelog = "https://github.com/abhinav/git-spice/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/abhinav/git-spice/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = [ lib.maintainers.vinnymeller ]; mainProgram = "gs"; }; -} +})