Install this version:
emerge -a =dev-util/crush-0.76.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/crush-0.76.0
Or alternatively:
emerge --autounmask-write -a =dev-util/crush-0.76.0
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Crush – Terminal-based AI coding assistant"
HOMEPAGE="https://github.com/charmbracelet/crush"
SRC_URI="https://github.com/charmbracelet/crush/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/0x6d6e647a/mndz-overlay-assets/releases/download/crush-${PV}/crush-${PV}-vendor.tar.xz"
LICENSE="FSL-1.1-MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
src_compile() {
export CGO_ENABLED=0
export GOEXPERIMENT=greenteagc
ego build -ldflags "-s -w -X github.com/charmbracelet/crush/internal/version.Version=${PV}" -v -x -work -o crush .
}
src_install() {
einstalldocs
dobin crush
}
src_test() {
ego test ./...
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | crush-0.76.0.tar.gz | 1617871 bytes | https://github.com/charmbracelet/crush/archive/refs/tags/v0.76.0.tar.gz |