587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
26 lines
751 B
Nix
26 lines
751 B
Nix
{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gitlab-elasticsearch-indexer";
|
|
version = "4.8.0";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitLab {
|
|
owner = "gitlab-org";
|
|
repo = "gitlab-elasticsearch-indexer";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-JHUDZmGlZGyvsB4wgAnNyIEtosZG4ajZ4eBGumH97ZI=";
|
|
};
|
|
|
|
vendorHash = "sha256-ztRKXoXncY66XJVwlPn4ShLWTD4Cr0yYHoUdquJItDM=";
|
|
|
|
buildInputs = [ icu ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Indexes Git repositories into Elasticsearch for GitLab.";
|
|
mainProgram = "gitlab-elasticsearch-indexer";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ xanderio yayayayaka ];
|
|
};
|
|
}
|