diff options
Diffstat (limited to 'third_party/gerrit-queue/default.nix')
-rw-r--r-- | third_party/gerrit-queue/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/gerrit-queue/default.nix b/third_party/gerrit-queue/default.nix new file mode 100644 index 000000000000..468d5b9b54ac --- /dev/null +++ b/third_party/gerrit-queue/default.nix @@ -0,0 +1,20 @@ +{ 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; + }; +} |