From e0c2cdb0640e26a766f0253f1d206305ec04b96a Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 24 Dec 2024 12:23:36 +0100 Subject: [PATCH 1/2] agebox: 0.7.1 -> 0.7.2 Changes: https://github.com/slok/agebox/releases/tag/v0.7.2 (cherry picked from commit 987a75d61475aad2e7ed2b88d27bf331372df7a0) --- pkgs/by-name/ag/agebox/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ag/agebox/package.nix b/pkgs/by-name/ag/agebox/package.nix index 3f9d73063ac23..bad13fc543dac 100644 --- a/pkgs/by-name/ag/agebox/package.nix +++ b/pkgs/by-name/ag/agebox/package.nix @@ -8,16 +8,16 @@ buildGo123Module rec { pname = "agebox"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "slok"; repo = pname; rev = "v${version}"; - hash = "sha256-RtFa7k+tw0hyf7bYm51aIxptaD4uOH6/3WDjeoWEEKA="; + hash = "sha256-QH0kkquLnB00oKuwb5j2ZoAKPnZkSHJRGaq3RXO5ggg="; }; - vendorHash = "sha256-57YbYDvRYOzQATEFpAuGzQzOYNY8n5LUrcu8jhjSiNI="; + vendorHash = "sha256-s3LZgQpUF0t9ETNloJux4gXXSn5Kg+pcuhJSMfWWnSo="; ldflags = [ "-s" From be7d82397e5347a63dc85aca27cad70dbb21e37f Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 24 Dec 2024 12:25:25 +0100 Subject: [PATCH 2/2] agebox: move to buildGoModule (cherry picked from commit 4cfa72545293229b28f24a687a8779477e3a1cb2) --- pkgs/by-name/ag/agebox/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ag/agebox/package.nix b/pkgs/by-name/ag/agebox/package.nix index bad13fc543dac..62219e46e576a 100644 --- a/pkgs/by-name/ag/agebox/package.nix +++ b/pkgs/by-name/ag/agebox/package.nix @@ -1,12 +1,10 @@ { lib, - # Required based on 'go' directive in go.mod, - # remove when Go in nixpkgs defaults to 1.23 or later. - buildGo123Module, + buildGoModule, fetchFromGitHub, }: -buildGo123Module rec { +buildGoModule rec { pname = "agebox"; version = "0.7.2";