open-policy-agent: 0.29.4 -> 0.30.0

This commit is contained in:
06kellyjac 2021-07-02 08:29:05 +01:00
parent f4ccef0999
commit a88673cdd1

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 = ''