nixpkgs/pkgs/by-name/gi/gitlab-elasticsearch-indexer/package.nix
2024-11-29 17:51:19 +01:00

27 lines
764 B
Nix

{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
buildGoModule rec {
pname = "gitlab-elasticsearch-indexer";
version = "5.3.0";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-elasticsearch-indexer";
rev = "v${version}";
hash = "sha256-upbVe78HLRWXf8knxsVX6mGbXHfMTPa7yQ7/XMTgGLo=";
};
vendorHash = "sha256-sws1r6W6tYJI/zOWFFp2hry9ToXuE4fezIL1XPgp0EM=";
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; [ yayayayaka ] ++ teams.cyberus.members;
};
}