summary refs log tree commit diff
path: root/fleet/pkgs
diff options
context:
space:
mode:
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 {};