25 lines
666 B
Nix
25 lines
666 B
Nix
|
{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "gitlab-elasticsearch-indexer";
|
||
|
version = "4.3.5";
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
owner = "gitlab-org";
|
||
|
repo = "gitlab-elasticsearch-indexer";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "sha256-2idvN92H4Cc1W71gADrsuUl3+f2weAvL2MOP19NO/3I=";
|
||
|
};
|
||
|
|
||
|
vendorHash = "sha256-7LqzuBVYqpPI2thIJu4kQgCZGMlBlKI8L+j7AdUYrgQ=";
|
||
|
|
||
|
buildInputs = [ icu ];
|
||
|
nativeBuildInputs = [ pkg-config ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Indexes Git repositories into Elasticsearch for GitLab.";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ xanderio yayayayaka ];
|
||
|
};
|
||
|
}
|