The types are different for `gerrit stream-events` and webhooks, so switch to a fork of go-gerrit containing their definitions. https://github.com/andygrunwald/go-gerrit/pull/189 is the upstream PR. Change-Id: I24136af2f2cf5655f2a8278632a3b0f52aa6adcc Reviewed-on: https://cl.snix.dev/c/snix/+/30544 Autosubmit: Florian Klink <flokli@flokli.de> Tested-by: besadii Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
14 lines
291 B
Nix
14 lines
291 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
pkgs.buildGoModule {
|
|
name = "gerrit-webhook-to-irccat";
|
|
src = lib.fileset.toSource {
|
|
root = ./.;
|
|
fileset = lib.fileset.unions [
|
|
./main.go
|
|
./go.mod
|
|
./go.sum
|
|
];
|
|
};
|
|
vendorHash = "sha256-Xq0p6EEPFS23H+RMkzQw6767d8WujAz7doR6E/YKrgY=";
|
|
}
|