open-policy-agent: 0.55.0 -> 0.58.0

This commit is contained in:
Aaron Jheng 2023-11-15 11:53:33 +00:00
parent 75fbff2576
commit 21dafa3fe9
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

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