summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
author06kellyjac <dev@j-k.io>2021-07-28 11:35:21 +0100
committer06kellyjac <dev@j-k.io>2021-07-28 11:35:21 +0100
commit082f4e01341ec3ef9aa44b136881e8bc37daa56e (patch)
treefa9943cadb40dce4167bc0b53916d9f20e0aa68b /pkgs
parent590fac37c8d25c9739031af5a6183107460c6f3c (diff)
downloadnixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar.gz
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar.bz2
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar.lz
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar.xz
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.tar.zst
nixpkgs-082f4e01341ec3ef9aa44b136881e8bc37daa56e.zip
rekor-cli, rekor-server: 0.2.0 -> 0.3.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/security/rekor/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/tools/security/rekor/default.nix b/pkgs/tools/security/rekor/default.nix
index b9b49d4e2df..4ff36910bb1 100644
--- a/pkgs/tools/security/rekor/default.nix
+++ b/pkgs/tools/security/rekor/default.nix
@@ -4,29 +4,27 @@ let
   generic = { pname, packageToBuild, description }:
     buildGoModule rec {
       inherit pname;
-      version = "0.2.0";
+      version = "0.3.0";
 
       src = fetchFromGitHub {
         owner = "sigstore";
         repo = "rekor";
         rev = "v${version}";
-        sha256 = "1y6qw55r30jgkcwc6434ly0v9dcfa2lc7z5djn7rjcqrjg3gn7yv";
+        sha256 = "sha256-FaVZm9C1pewJCZlYgNyD/ZYr/UIRvhqVTUhFTmysxeg=";
       };
 
-      vendorSha256 = "1wlh505ypwyr91wi80fpbap3far3fljwjd4mql2qcqgg0b1yay9s";
+      vendorSha256 = "sha256-EBKj/+ruE88qvlbOme4GBfAqt3/1jHcqhY0IHxh6Y5U=";
 
       subPackages = [ packageToBuild ];
 
-      preBuild = ''
-        buildFlagsArray+=("-ldflags" "-s -w -X github.com/sigstore/rekor/${packageToBuild}/app.gitVersion=v${version}")
-      '';
+      ldflags = [ "-s" "-w" "-X github.com/sigstore/rekor/${packageToBuild}/app.gitVersion=v${version}" ];
 
       meta = with lib; {
         inherit description;
         homepage = "https://github.com/sigstore/rekor";
         changelog = "https://github.com/sigstore/rekor/releases/tag/v${version}";
         license = licenses.asl20;
-        maintainers = with maintainers; [ lesuisse ];
+        maintainers = with maintainers; [ lesuisse jk ];
       };
     };
 in {