nixpkgs/pkgs/tools/text/ugrep/default.nix
2021-12-22 08:31:51 +00:00

40 lines
640 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, boost
, bzip2
, lz4
, pcre2
, xz
, zlib
}:
stdenv.mkDerivation rec {
pname = "ugrep";
version = "3.4.0";
src = fetchFromGitHub {
owner = "Genivia";
repo = pname;
rev = "v${version}";
sha256 = "sha256-G9MM5dIc1B8tggCQKIk+f39cv/Xb0rTLOqDYEsHwI4A=";
};
buildInputs = [
boost
bzip2
lz4
pcre2
xz
zlib
];
meta = with lib; {
description = "Ultra fast grep with interactive query UI";
homepage = "https://github.com/Genivia/ugrep";
maintainers = with maintainers; [ numkem ];
license = licenses.bsd3;
platforms = platforms.all;
};
}