mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
41 lines
815 B
Nix
41 lines
815 B
Nix
{ 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;
|
|
};
|
|
})
|