From b8083a98af4af78712d40d7b986915e2b52ec35c Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Mon, 1 Aug 2022 14:28:35 +0200 Subject: fulcio: 0.4.1 -> 0.5.2 https://github.com/sigstore/fulcio/releases/tag/v0.5.2 https://github.com/sigstore/fulcio/releases/tag/v0.5.1 https://github.com/sigstore/fulcio/releases/tag/v0.5.0 --- pkgs/tools/security/fulcio/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pkgs/tools/security/fulcio') diff --git a/pkgs/tools/security/fulcio/default.nix b/pkgs/tools/security/fulcio/default.nix index acfce66834ff8..e1e0353847bd9 100644 --- a/pkgs/tools/security/fulcio/default.nix +++ b/pkgs/tools/security/fulcio/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "fulcio"; - version = "0.4.1"; + version = "0.5.2"; src = fetchFromGitHub { owner = "sigstore"; repo = pname; rev = "v${version}"; - sha256 = "sha256-b+2M28cI+4UkzrIqI+BioxJsGqT0pqJVPTPmXe+NsZo="; + sha256 = "sha256-jNsW4eUpqa1a1itEnY1932ta3UpjLxhbHz9byM6/Rxo="; # 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. leaveDotGit = true; @@ -20,7 +20,7 @@ buildGoModule rec { find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; - vendorSha256 = "sha256-INPMsSyjFs4GyapOlc/k5fcI2ePUKgp4BtASOKwQhck="; + vendorSha256 = "sha256-L+20HvkRAs00tbD5q1ATeLrKoa7VFQlrXChh7AtK0PI="; nativeBuildInputs = [ installShellFiles ]; @@ -29,14 +29,14 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/sigstore/fulcio/pkg/api.gitVersion=v${version}" - "-X github.com/sigstore/fulcio/pkg/api.gitTreeState=clean" + "-X github.com/sigstore/fulcio/pkg/server.gitVersion=v${version}" + "-X github.com/sigstore/fulcio/pkg/server.gitTreeState=clean" ]; # ldflags based on metadata from git and source preBuild = '' - ldflags+=" -X github.com/sigstore/fulcio/pkg/api.gitCommit=$(cat COMMIT)" - ldflags+=" -X github.com/sigstore/fulcio/pkg/api.buildDate=$(cat SOURCE_DATE_EPOCH)" + ldflags+=" -X github.com/sigstore/fulcio/pkg/server.gitCommit=$(cat COMMIT)" + ldflags+=" -X github.com/sigstore/fulcio/pkg/server.buildDate=$(cat SOURCE_DATE_EPOCH)" ''; preCheck = '' @@ -44,7 +44,7 @@ buildGoModule rec { unset subPackages # skip test that requires networking - substituteInPlace pkg/config/config_test.go \ + substituteInPlace pkg/config/config_network_test.go \ --replace "TestLoad" "SkipLoad" ''; -- cgit 1.4.1