depot/third_party/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-elasticsearch-indexer/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
750 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 ];
};
}