# SPDX-FileCopyrightText: 2024 The nix-gerrit Authors # SPDX-License-Identifier: MIT { nixpkgs ? , pkgs ? import nixpkgs { } , lib ? pkgs.lib }: lib.makeScope pkgs.newScope (self: { buildBazelPackageNG = self.callPackage ./buildBazelPackageNG { }; gerrit = self.callPackage ./gerrit { }; buildGerritBazelPlugin = self.callPackage ./plugins/builder.nix { }; plugins = { code-owners = self.callPackage ./plugins/code-owners { }; oauth = self.callPackage ./plugins/oauth { }; }; ci = pkgs.linkFarm "gerrit-ci" [ { name = "gerrit"; path = self.gerrit; } { name = "code-owners.jar"; path = self.plugins.code-owners; } { name = "oauth.jar"; path = self.plugins.oauth; } ]; })