depot/third_party/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-elasticsearch-indexer/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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 ];
};
}