open-policy-agent: 0.66.0 -> 0.69.0 (#349111)
This commit is contained in:
commit
fbba62a037
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
|
||||
, enableWasmEval ? false
|
||||
@ -12,24 +11,15 @@ assert enableWasmEval && stdenv.hostPlatform.isDarwin -> builtins.throw "buildin
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "open-policy-agent";
|
||||
version = "0.66.0";
|
||||
version = "0.69.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-policy-agent";
|
||||
repo = "opa";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fx7k6KvL0uy2NXLDLpCnN1ux9MGEO1CbX6TdLweVzag=";
|
||||
hash = "sha256-AEh6HBDLQYptBw68SQurPuWADxL5x5OirtJGQ+UKXdU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix tests in 1.22.5
|
||||
# https://github.com/open-policy-agent/opa/pull/6845
|
||||
(fetchpatch {
|
||||
url = "https://github.com/open-policy-agent/opa/commit/956358516c23b1f33f6667961e20aca65b91355b.patch";
|
||||
hash = "sha256-1nfMwJwbYfdLg9j4ppP1IWdDeFq6vhXcDKr6uprP53U=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
Loading…
Reference in New Issue
Block a user