e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
46 lines
816 B
Nix
46 lines
816 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, boost
|
|
, brotli
|
|
, bzip2
|
|
, bzip3
|
|
, lz4
|
|
, pcre2
|
|
, xz
|
|
, zlib
|
|
, zstd
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ugrep";
|
|
version = "4.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Genivia";
|
|
repo = "ugrep";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-unryRXGuxQXCwzpQW6AJAYQEL3Xvs2u4DH2E3LATQaU=";
|
|
};
|
|
|
|
buildInputs = [
|
|
boost
|
|
brotli
|
|
bzip2
|
|
bzip3
|
|
lz4
|
|
pcre2
|
|
xz
|
|
zlib
|
|
zstd
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ultra fast grep with interactive query UI";
|
|
homepage = "https://github.com/Genivia/ugrep";
|
|
changelog = "https://github.com/Genivia/ugrep/releases/tag/v${finalAttrs.version}";
|
|
maintainers = with maintainers; [ numkem mikaelfangel ];
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
})
|