![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
751 B
Nix
27 lines
751 B
Nix
{ lib, buildGoModule, fetchFromGitLab, pkg-config, icu }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gitlab-elasticsearch-indexer";
|
|
version = "4.6.0";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitLab {
|
|
owner = "gitlab-org";
|
|
repo = "gitlab-elasticsearch-indexer";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HlT3Uj/DWbyK4xGq7SjKjZ90sww6oMiMDo05mtv6rTA=";
|
|
};
|
|
|
|
vendorHash = "sha256-YUH/agSy/shHmHRXlfDtgumbka6BjX5NTxgvlNJS4hQ=";
|
|
|
|
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 ];
|
|
};
|
|
}
|