diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-09-06 19:38:09 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-09-06 20:28:09 +1000 |
commit | fd5f28afba55632d651c7593ea67f5729737c4e1 (patch) | |
tree | b0e2450fa2ab25d8500312c794f45fadf2045f98 /pkgs/tools/text/vgrep | |
parent | 6748689238b0714003d9247898867d7df981e728 (diff) | |
download | nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar.gz nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar.bz2 nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar.lz nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar.xz nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.tar.zst nixpkgs-fd5f28afba55632d651c7593ea67f5729737c4e1.zip |
vgrep: init at 2.4.0
Diffstat (limited to 'pkgs/tools/text/vgrep')
-rw-r--r-- | pkgs/tools/text/vgrep/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/text/vgrep/default.nix b/pkgs/tools/text/vgrep/default.nix new file mode 100644 index 00000000000..12880b2e4ec --- /dev/null +++ b/pkgs/tools/text/vgrep/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} |