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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
765 B
Nix
Raw Normal View History

2021-05-28 11:41:41 +00:00
{ lib
, stdenv
, fetchFromGitHub
, boost
, bzip2
, lz4
, pcre2
, xz
, zlib
, zstd
2021-05-28 11:41:41 +00:00
}:
2020-07-25 01:16:21 +00:00
stdenv.mkDerivation (finalAttrs: {
2020-07-25 01:16:21 +00:00
pname = "ugrep";
2023-08-28 10:18:35 +00:00
version = "4.0.5";
2020-07-25 01:16:21 +00:00
src = fetchFromGitHub {
owner = "Genivia";
repo = "ugrep";
rev = "v${finalAttrs.version}";
2023-08-28 10:18:35 +00:00
hash = "sha256-7cE8kbj8ChvHOPb1F7Fj9talg82nXpXRPt4oBSGSWZw=";
2020-07-25 01:16:21 +00:00
};
2021-05-28 11:41:41 +00:00
buildInputs = [
boost
bzip2
lz4
pcre2
xz
zlib
zstd
2021-05-28 11:41:41 +00:00
];
2020-07-25 01:16:21 +00:00
meta = with lib; {
2020-07-25 01:16:21 +00:00
description = "Ultra fast grep with interactive query UI";
homepage = "https://github.com/Genivia/ugrep";
changelog = "https://github.com/Genivia/ugrep/releases/tag/v${finalAttrs.version}";
2020-07-25 01:16:21 +00:00
maintainers = with maintainers; [ numkem ];
license = licenses.bsd3;
platforms = platforms.all;
};
})