depot/third_party/nixpkgs/pkgs/tools/text/ugrep/default.nix
Default email 14a1eeff01 Project import generated by Copybara.
GitOrigin-RevId: 6933d068c5d2fcff398e802f7c4e271bbdab6705
2021-05-29 03:34:57 +00:00

39 lines
640 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, boost
, bzip2
, lz4
, pcre2
, xz
, zlib
}:
stdenv.mkDerivation rec {
pname = "ugrep";
version = "3.2.2";
src = fetchFromGitHub {
owner = "Genivia";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0Vc+ORHnSG9W4OaKWGs4tI5+e5TJNMbBNQ+3NZRz6Ug=";
};
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;
};
}