From b7a18bdfb9e2453684a766f7f0f611ebbc0cf1ba Mon Sep 17 00:00:00 2001 From: V Date: Wed, 11 May 2022 14:04:31 +0200 Subject: fleet/hosts/kaikou: add skeleton Gerrit config Change-Id: Ibf68b5b4d7377ea5863315ffd5b6ed24c2874961 --- fleet/pkgs/gerrit-oauth-provider/default.nix | 9 +++++++++ fleet/pkgs/overlay.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 fleet/pkgs/gerrit-oauth-provider/default.nix (limited to 'fleet/pkgs') 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 +# 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 {}; -- cgit 1.4.1