58f8944c92
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
24 lines
594 B
Nix
24 lines
594 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "vgrep";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vrothberg";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "109j04my2xib8m52a0337996a27nvfgzackpg20zs3nzn66dmvb7";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "User-friendly pager for grep/git-grep/ripgrep";
|
|
homepage = "https://github.com/vrothberg/vgrep";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ zowoq ];
|
|
};
|
|
}
|