nixpkgs/pkgs/tools/text/ugrep/default.nix
2020-07-25 11:16:21 +10:00

24 lines
609 B
Nix

{ stdenv, fetchFromGitHub, boost, bzip2, lz4, pcre2, xz, zlib }:
stdenv.mkDerivation rec {
pname = "ugrep";
version = "2.4.1";
src = fetchFromGitHub {
owner = "Genivia";
repo = pname;
rev = "v${version}";
sha256 = "16nr7zq4l2si9pfckfinbqnv94hw51z2qcbygc9x81jbjlvg3003";
};
buildInputs = [ boost bzip2 lz4 pcre2 xz zlib ];
meta = with stdenv.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;
};
}