dev-util/wakatime-cli - 2.28.4 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-util/wakatime-cli-2.28.4

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

autounmask =dev-util/wakatime-cli-2.28.4

Or alternatively:

emerge --autounmask-write -a =dev-util/wakatime-cli-2.28.4

Package Information

Description:
Command line interface to WakaTime used by all WakaTime plugins
Homepage:
https://wakatime.com
License:
BSD MIT MPL-2.0 BSD-2 Apache-2.0

Ebuild Details

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

EAPI=8

inherit go-module

MY_PN=$(ver_cut 1 "${PN}")

DESCRIPTION="Command line interface to WakaTime used by all WakaTime plugins"
HOMEPAGE="https://wakatime.com"
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-vendor.tar.xz"

LICENSE="BSD MIT MPL-2.0 BSD-2 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

# go.mod requires a newer toolchain than go-module.eclass depends on.
BDEPEND+=" >=dev-lang/go-1.27.3"

src_compile() {
	local mygoargs=(
		-v
		-work
		-x
		-tags release
		-ldflags "-X main.version=${PV}"
		-asmflags "-trimpath=${S}"
		-gcflags "-trimpath=${S}"
	)
	go build "${mygoargs[@]}" -o "${MY_PN}" || die
}

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

src_install() {
	dobin "${MY_PN}"
}

Inherited Eclasses

Dependencies

BDEPEND

 >=dev-lang/go-1.27.3

Manifest for 2.28.4

Type File Size Source URLs
DIST wakatime-cli-2.28.4-vendor.tar.xz 8818168 bytes https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/wakatime-cli-2.28.4-vendor.tar.xz
DIST wakatime-cli-2.28.4.tar.gz 709146 bytes https://github.com/$(ver_cut/wakatime-cli/archive/v2.28.4.tar.gz