Install this version:
emerge -a =app-misc/fx-40.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/fx-40.0.0
Or alternatively:
emerge --autounmask-write -a =app-misc/fx-40.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 40.0.0 | 8 | ~amd64 | 0 |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION=" Terminal JSON viewer & processor"
HOMEPAGE="https://fx.wtf/ https://github.com/antonmedv/fx"
SRC_URI="https://github.com/antonmedv/fx/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/fx/releases/download/${PV}/${P}-vendor.tar.xz"
LICENSE="MIT"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.26.0"
src_compile() {
ego build -o fx .
mkdir "${T}/comp"
./fx --comp bash > "${T}/comp/fx" || die
./fx --comp zsh > "${T}/comp/_fx" || die
./fx --comp fish > "${T}/comp/fx.fish" || die
}
src_test() {
ego test ./...
}
src_install() {
dobin fx
dodoc README.md
dobashcomp "${T}/comp/fx"
dozshcomp "${T}/comp/_fx"
dofishcomp "${T}/comp/fx.fish"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | fx-40.0.0-vendor.tar.xz | 2770208 bytes | https://github.com/gentoo-golang-dist/fx/releases/download/40.0.0/fx-40.0.0-vendor.tar.xz |
| DIST | fx-40.0.0.tar.gz | 3384884 bytes | https://github.com/antonmedv/fx/archive/40.0.0.tar.gz |