app-misc/gron - 0.7.1 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =app-misc/gron-0.7.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/gron-0.7.1

Or alternatively:

emerge --autounmask-write -a =app-misc/gron-0.7.1

Package Information

Description:
Make JSON greppable
Homepage:
https://github.com/tomnomnom/gron
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.7.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module shell-completion

DESCRIPTION="Make JSON greppable"
HOMEPAGE="https://github.com/tomnomnom/gron"
SRC_URI="https://github.com/tomnomnom/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-vendor.tar.xz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	ego build -ldflags "-X main.gronVersion=${PV}" -o "${PN}"
}

src_test() {
	ego test ./...
}

src_install() {
	dobin "${PN}"
	einstalldocs
	dodoc ADVANCED.mkd
	dofishcomp completions/gron.fish
}

Inherited Eclasses

Manifest for 0.7.1

Type File Size Source URLs
DIST gron-0.7.1-vendor.tar.xz 301548 bytes https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/gron-0.7.1-vendor.tar.xz
DIST gron-0.7.1.tar.gz 340819 bytes https://github.com/tomnomnom/gron/archive/refs/tags/v0.7.1.tar.gz