chore(3p): Remove gerrit-queue folder in preparation for vendoring

The upstream isn't really maintained anymore, so we may as well take
it over since we're patching it anyways.

Change-Id: I7dddc03ab90b00611520a77a26e73a5be1c2cfb8
This commit is contained in:
Vincent Ambo 2021-12-09 16:11:01 +03:00
parent afa2d08fe7
commit ff10b7ab83
2 changed files with 0 additions and 219 deletions

View file

@ -1,32 +0,0 @@
{ pkgs, lib, ... }:
pkgs.buildGoModule {
pname = "gerrit-queue";
version = "master";
vendorSha256 = "0hivr4yn9aa1vk7z1h1nwg75hzqnsaxypi1wwxdy1l1hnm5k8hhi";
src = pkgs.fetchFromGitHub {
owner = "tweag";
repo = "gerrit-queue";
rev = "c67b3ba7ea769cd747ea2f43ee6d12943d599ae0";
hash = "sha256:1x0g6fd5hymf6a8wxj1b1xi4x1hmwpnx4f2cdidgvsyd77v902c1";
};
# Add TVL patches to bend gerrit-queue functionality to our will.
patches = [
# Use 'Autosubmit' label instead of Gerrit hashtags.
./0001-gerrit-Use-a-Gerrit-label-instead-of-hashtag-for-aut.patch
];
# 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;
};
}