about summary refs log blame commit diff
path: root/third_party/gerrit-queue/default.nix
blob: 468d5b9b54ac0069a39d58b449ff8a8a2fdc94eb (plain) (tree)
1
2
3
4
5
6




                         
                                                                        













                                                                
{ pkgs, lib, ... }:

pkgs.buildGoModule {
  pname = "gerrit-queue";
  version = "master";
  vendorSha256 = "1bqllafvd4yy4cy6barpqhycxmhzcx3p5shpzhd8qwxwwg0clxs6";
  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;
  };
}