mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
27 lines
764 B
Nix
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;
|
|
};
|
|
}
|