2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
42 lines
765 B
Nix
42 lines
765 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, boost
|
|
, bzip2
|
|
, lz4
|
|
, pcre2
|
|
, xz
|
|
, zlib
|
|
, zstd
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ugrep";
|
|
version = "4.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Genivia";
|
|
repo = "ugrep";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-0yg68lBEHiyRD3FE5oe67hMhhEHOFf7/PMA+88J9LuI=";
|
|
};
|
|
|
|
buildInputs = [
|
|
boost
|
|
bzip2
|
|
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 ];
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
})
|