2023-03-09 10:55:48 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gitlab-elasticsearch-indexer";
|
2024-07-19 09:53:02 +00:00
|
|
|
version = "5.2.0";
|
2023-03-09 10:55:48 +00:00
|
|
|
|
2023-07-25 17:52:28 +00:00
|
|
|
# nixpkgs-update: no auto update
|
2023-03-09 10:55:48 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "gitlab-org";
|
|
|
|
repo = "gitlab-elasticsearch-indexer";
|
|
|
|
rev = "v${version}";
|
2024-07-19 09:53:02 +00:00
|
|
|
hash = "sha256-pkZWIsPWUDkjZo48mJ9N8LbMJJAHNI2Wf6X0F5+K23s=";
|
2023-03-09 10:55:48 +00:00
|
|
|
};
|
|
|
|
|
2024-07-19 09:53:02 +00:00
|
|
|
vendorHash = "sha256-hFTvNh/N3z99O7dtAEiksonJcTn7Zj7Ijp68vfXEBw8=";
|
2023-03-09 10:55:48 +00:00
|
|
|
|
|
|
|
buildInputs = [ icu ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Indexes Git repositories into Elasticsearch for GitLab";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gitlab-elasticsearch-indexer";
|
2023-03-09 10:55:48 +00:00
|
|
|
license = licenses.mit;
|
2024-07-30 10:36:34 +00:00
|
|
|
maintainers = with maintainers; [ yayayayaka ] ++ teams.cyberus.members;
|
2023-03-09 10:55:48 +00:00
|
|
|
};
|
|
|
|
}
|