Merge pull request #267656 from aaronjheng/open-policy-agent

open-policy-agent: 0.55.0 -> 0.58.0
This commit is contained in:
Nick Cao 2023-11-15 09:15:01 -05:00 committed by GitHub
commit a9d9b2b7e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,15 @@ assert enableWasmEval && stdenv.isDarwin -> builtins.throw "building with wasm o
buildGoModule rec {
pname = "open-policy-agent";
version = "0.55.0";
version = "0.58.0";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "opa";
rev = "v${version}";
hash = "sha256-piQ8Cig2zG6UhzVbiDCTruAXNis8P5HUja4xiiol9jA=";
hash = "sha256-zDTL/kP0ldPiZhLqLQmpIoDaq979KNDVJyXp93sPZAk=";
};
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
@ -34,6 +35,10 @@ buildGoModule rec {
+ "`opa build` does not need this feature.")
"opa_wasm");
checkFlags = lib.optionals (!enableWasmEval) [
"-skip=TestRegoTargetWasmAndTargetPluginDisablesIndexingTopdownStages"
];
preCheck = ''
# Feed in all but the e2e tests for testing
# This is because subPackages above limits what is built to just what we