2023-07-15 17:15:38 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gitlab-elasticsearch-indexer";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "4.4.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
# nixpkgs-update: no auto update
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "gitlab-org";
|
|
|
|
repo = "gitlab-elasticsearch-indexer";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-Qywf5ACxXqY1iUZCsROTLmWeM8gFcqZvnClRo5DlnjY=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
vendorHash = "sha256-2dUlztXnr7OH/gQ0Q4jQpuO1MdkOy1O4BNGiY223DAA=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
buildInputs = [ icu ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Indexes Git repositories into Elasticsearch for GitLab.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ xanderio yayayayaka ];
|
|
|
|
};
|
|
|
|
}
|