From 95eb164eded540b246eb2a45830498273ecd4b20 Mon Sep 17 00:00:00 2001 From: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com> Date: Mon, 27 Nov 2023 22:23:06 +0100 Subject: [PATCH] ugrep-indexer: init at 0.9.6 --- pkgs/by-name/ug/ugrep-indexer/package.nix | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/ug/ugrep-indexer/package.nix diff --git a/pkgs/by-name/ug/ugrep-indexer/package.nix b/pkgs/by-name/ug/ugrep-indexer/package.nix new file mode 100644 index 000000000000..07bd5edac253 --- /dev/null +++ b/pkgs/by-name/ug/ugrep-indexer/package.nix @@ -0,0 +1,40 @@ +{ lib +, stdenv +, fetchFromGitHub +, brotli +, bzip2 +, lz4 +, xz +, zlib +, zstd +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "ugrep-indexer"; + version = "0.9.6"; + + src = fetchFromGitHub { + owner = "Genivia"; + repo = "ugrep-indexer"; + rev = "v${finalAttrs.version}"; + hash = "sha256-ZXZF9ZSdfQ2gxi5JkDJCUzMbkTs9KLzZBsyYxR/v4tI="; + }; + + buildInputs = [ + brotli + bzip2 + lz4 + zlib + zstd + xz + ]; + + meta = with lib; { + description = "Utility that recursively indexes files to speed up recursive grepping"; + homepage = "https://github.com/Genivia/ugrep-indexer"; + changelog = "https://github.com/Genivia/ugrep-indexer/releases/tag/v${finalAttrs.version}"; + maintainers = with maintainers; [ mikaelfangel ]; + license = licenses.bsd3; + platforms = platforms.all; + }; +})