nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildGoModule,
3 lib,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gerrit-queue";
9 version = "0.0.1";
10
11 src = fetchFromGitHub {
12 owner = "flokli";
13 repo = "gerrit-queue";
14 rev = "v${version}";
15 hash = "sha256-JkAYqqet6y89RTBU9FuxkMwJiGM6opL0reXbojSal3Y=";
16 };
17 vendorHash = "sha256-+Ig4D46NphzpWKXO23Haea9EqVtpda8v9zLPJkbe3bQ=";
18
19 meta = {
20 description = "Merge bot for Gerrit";
21 homepage = "https://github.com/flokli/gerrit-queue";
22 license = lib.licenses.asl20;
23 maintainers = with lib.maintainers; [ flokli ];
24 mainProgram = "gerrit-queue";
25 };
26}