depot/third_party/nixpkgs/pkgs/tools/text/ugrep/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

40 lines
715 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, boost
, bzip2
, lz4
, pcre2
, xz
, zlib
}:
stdenv.mkDerivation rec {
pname = "ugrep";
version = "3.9.5";
src = fetchFromGitHub {
owner = "Genivia";
repo = pname;
rev = "v${version}";
hash = "sha256-vaoEfNhkvbcZwjSMRwmWo42jPg6+7mrZx+jIesQnmL0=";
};
buildInputs = [
boost
bzip2
lz4
pcre2
xz
zlib
];
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${version}";
maintainers = with maintainers; [ numkem ];
license = licenses.bsd3;
platforms = platforms.all;
};
}