2021-12-09 14:11:32 +01:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
pkgs.buildGoModule {
|
|
|
|
pname = "gerrit-queue";
|
|
|
|
version = "master";
|
2021-12-10 10:15:15 +01:00
|
|
|
vendorSha256 = "1bqllafvd4yy4cy6barpqhycxmhzcx3p5shpzhd8qwxwwg0clxs6";
|
2021-12-09 14:11:32 +01:00
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
# gerrit-queue embeds static assets which need to be generated
|
|
|
|
nativeBuildInputs = [ pkgs.statik ];
|
|
|
|
preBuild = ''
|
|
|
|
statik -f
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gerrit submit bot";
|
|
|
|
homepage = "https://github.com/tweag/gerrit-queue";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|