nixpkgs/pkgs/tools/text/ugrep/default.nix

24 lines
609 B
Nix
Raw Normal View History

2020-07-24 18:16:21 -07:00
{ stdenv, fetchFromGitHub, boost, bzip2, lz4, pcre2, xz, zlib }:
stdenv.mkDerivation rec {
pname = "ugrep";
2020-09-06 22:33:04 -07:00
version = "2.5.5";
2020-07-24 18:16:21 -07:00
src = fetchFromGitHub {
owner = "Genivia";
repo = pname;
rev = "v${version}";
2020-09-06 22:33:04 -07:00
sha256 = "0ba9h0m9c28rllym1djij3b97k4rj06nsgajmbxg5mpxfzplgxy2";
2020-07-24 18:16:21 -07:00
};
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;
};
}