summaryrefslogtreecommitdiff
path: root/app-benchmarks/k6/k6-1.4.2.ebuild
blob: 43994a777524bf0ce25ddbf8b8a146399be6087e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="Load testing tool"
HOMEPAGE="https://github.com/grafana/k6"
SRC_URI="https://github.com/grafana/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://distfiles.dutra.sh/distfiles/${P}-vendor.tar.xz"

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"

# Tests requires network connection
RESTRICT=test

src_compile() {
	ego build -v -x -o ${PN}
}

src_install() {
	dobin ${PN}
}