summary refs log tree commit diff
path: root/fleet/pkgs
diff options
context:
space:
mode:
authorV <v@unfathomable.blue>2022-05-11 14:04:31 +0200
committerV <v@unfathomable.blue>2022-05-14 16:50:13 +0200
commitb7a18bdfb9e2453684a766f7f0f611ebbc0cf1ba (patch)
treefac8dac87774f22d0d1b8cc009c863fa50e4a0c0 /fleet/pkgs
parent83bfa5eab7cf64a77551b634c75b6eaf92d961c3 (diff)
downloadunf-legacy-b7a18bdfb9e2453684a766f7f0f611ebbc0cf1ba.tar.zst
fleet/hosts/kaikou: add skeleton Gerrit config
Change-Id: Ibf68b5b4d7377ea5863315ffd5b6ed24c2874961
Diffstat (limited to 'fleet/pkgs')
-rw-r--r--fleet/pkgs/gerrit-oauth-provider/default.nix9
-rw-r--r--fleet/pkgs/overlay.nix1
2 files changed, 10 insertions, 0 deletions
diff --git a/fleet/pkgs/gerrit-oauth-provider/default.nix b/fleet/pkgs/gerrit-oauth-provider/default.nix
new file mode 100644
index 0000000..3c21208
--- /dev/null
+++ b/fleet/pkgs/gerrit-oauth-provider/default.nix
@@ -0,0 +1,9 @@
+# SPDX-FileCopyrightText: V <v@unfathomable.blue>
+# SPDX-License-Identifier: OSL-3.0
+
+{ fetchurl }:
+
+fetchurl {
+  url = "https://github.com/davido/gerrit-oauth-provider/releases/download/v3.5.1/gerrit-oauth-provider.jar";
+  sha256 = "0sfw5bcrzm3r7dmaljl04vflld0i9km9b7r8kbw1bb2lqjac8b9i";
+}
diff --git a/fleet/pkgs/overlay.nix b/fleet/pkgs/overlay.nix
index 30ce110..49cc524 100644
--- a/fleet/pkgs/overlay.nix
+++ b/fleet/pkgs/overlay.nix
@@ -4,6 +4,7 @@
 final: prev: {
   cgiserver = final.callPackage ./cgiserver {};
   declarative-git-repository = final.callPackage ./declarative-git-repository {};
+  gerrit-oauth-provider = final.callPackage ./gerrit-oauth-provider {};
   naersk = final.callPackage (import ../nix/sources.nix {}).naersk {};
   naut = final.callPackage ./naut {};
   public-inbox = final.perlPackages.callPackage ./public-inbox {};