dev-db/rqlite - 8.43.4 (gentoo)

Search

Package Information

Description:
Replicated SQLite using the Raft consensus protocol
Homepage:
https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/
License:
MIT Apache-2.0 BSD CC0-1.0 MPL-2.0

Ebuild Details

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

EAPI=8
inherit go-module
EGIT_COMMIT=a127df48fa5d8b907ce5a229e97c24e5ec3dd9ee

DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"

LICENSE="MIT"
LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_unpack() {
	default
}

src_prepare() {
	ln -sv ../vendor ./ || die
	default
}

src_compile() {
	GOBIN="${S}/bin" \
		ego install \
			-ldflags="-X main.version=v${PV}
				-X main.branch=master
				-X main.commit=${EGIT_COMMIT}
				-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
			./cmd/... || die
}

src_test() {
	GOBIN="${S}/bin" \
		ego test ./... || die
}

src_install() {
	dobin bin/*
	dodoc -r *.md DOC
}

Manifest for 8.43.4

Type File Size Source URLs
DIST rqlite-8.43.4-deps.tar.xz 4366076 bytes https://dev.gentoo.org/~zmedico/dist/rqlite-8.43.4-deps.tar.xz
DIST rqlite-8.43.4.tar.gz 848607 bytes https://github.com/rqlite/rqlite/archive/v8.43.4.tar.gz