depot/third_party/nixpkgs/pkgs/applications/version-management/gitlab/gitlab-elasticsearch-indexer/default.nix

26 lines
701 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
buildGoModule rec {
pname = "gitlab-elasticsearch-indexer";
version = "4.5.0";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-elasticsearch-indexer";
rev = "v${version}";
sha256 = "sha256-6Y2ARnFjbz6nFhWGRhzgAY8s0aX24oLMY1016oRD9oo=";
};
vendorHash = "sha256-jpjfQl2z5yPnlGEYW6KKBfd4quchT+bU/RU6vwaB4gQ=";
buildInputs = [ icu ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
description = "Indexes Git repositories into Elasticsearch for GitLab.";
license = licenses.mit;
maintainers = with maintainers; [ xanderio yayayayaka ];
};
}