Merge pull request #128952 from 06kellyjac/opa

open-policy-agent: 0.29.4 -> 0.30.0
This commit is contained in:
lewo 2021-07-03 08:29:16 +02:00 committed by GitHub
commit b03df48627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "open-policy-agent";
version = "0.29.4";
version = "0.30.0";
src = fetchFromGitHub {
owner = "open-policy-agent";
@ -10,14 +10,11 @@ buildGoModule rec {
rev = "v${version}";
sha256 = "sha256-AjNr+t30ftF92+cEfvt8iHBDVD/SO52ojJRLAkYF9l4=";
};
vendorSha256 = null;
subPackages = [ "." ];
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X github.com/open-policy-agent/opa/version.Version=${version}")
'';
ldflags = [ "-s" "-w" "-X github.com/open-policy-agent/opa/version.Version=${version}" ];
doInstallCheck = true;
installCheckPhase = ''