Merge pull request #175778 from SuperSandro2000/gatekeeper

gatekeeper: init at 3.8.1

authored by Sandro and committed by GitHub 170d99ef 07b60bca

+41
+39
pkgs/applications/networking/cluster/gatekeeper/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , installShellFiles 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "gatekeeper"; 9 + version = "3.8.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "open-policy-agent"; 13 + repo = "gatekeeper"; 14 + rev = "v${version}"; 15 + sha256 = "sha256-zEUH88sjgR738BXK2oSSM6jf5oHZt0VJv61BcxclG1Q="; 16 + }; 17 + 18 + vendorSha256 = null; 19 + 20 + nativeBuildInputs = [ 21 + installShellFiles 22 + ]; 23 + 24 + subPackages = [ "cmd/gator" ]; 25 + 26 + postInstall = '' 27 + installShellCompletion --cmd gator \ 28 + --bash <($out/bin/gator completion bash) \ 29 + --fish <($out/bin/gator completion fish) \ 30 + --zsh <($out/bin/gator completion zsh) 31 + ''; 32 + 33 + meta = with lib; { 34 + description = "Policy Controller for Kubernetes"; 35 + homepage = "https://github.com/open-policy-agent/gatekeeper"; 36 + license = licenses.asl20; 37 + maintainers = with maintainers; [ SuperSandro2000 ]; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 27073 27073 27074 27074 hugo = callPackage ../applications/misc/hugo { buildGoModule = buildGo118Module; }; 27075 27075 27076 + gatekeeper = callPackage ../applications/networking/cluster/gatekeeper { }; 27077 + 27076 27078 go-org = callPackage ../applications/misc/go-org { }; 27077 27079 27078 27080 hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { };