summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-06-26 10:30:14 -0700
committerZac Medico <zmedico@gentoo.org>2022-06-26 10:30:48 -0700
commit2f994f4994ca02d31c2ac3c65675b9d671b16459 (patch)
treed8867f9857f67eea73b5387a1c1bf27e056c6e90 /app-misc/dasel
parentsci-libs/caffe2: fix deps (diff)
downloadgentoo-2f994f4994ca02d31c2ac3c65675b9d671b16459.tar.gz
gentoo-2f994f4994ca02d31c2ac3c65675b9d671b16459.tar.bz2
gentoo-2f994f4994ca02d31c2ac3c65675b9d671b16459.zip
app-misc/dasel: add 1.25.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-misc/dasel')
-rw-r--r--app-misc/dasel/Manifest1
-rw-r--r--app-misc/dasel/dasel-1.25.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-misc/dasel/Manifest b/app-misc/dasel/Manifest
index c6d5eca9b0d9..3063a1c63bec 100644
--- a/app-misc/dasel/Manifest
+++ b/app-misc/dasel/Manifest
@@ -1,2 +1,3 @@
DIST dasel-1.24.3-deps.tar.xz 20531068 BLAKE2B 6cd947a88c54e46300432c2f87c0ef757a53739e0755af48f4596a87ba46faf12c967145a0f263e13abb8f01ffe10c51b45f641de348fc02e7af39417b709d1d SHA512 27696cd5a5c93b3e29ba12fd2730c04047dc752ef17a32db73e7cbc8e5d38d914705720da9ff0ffb0c8d3fb383b5070eb552b24a4e72e72ebad70c2e1085cab3
DIST dasel-1.24.3.tar.gz 3052243 BLAKE2B bc6621515781272d45f2b459f99a5c8ab3c51a869d147bf8e0d7ea1f0f3b9e8afd0b80a4091ecccfcaa7e8e5e375d6851400dac9432aa911374d011b8c36ec36 SHA512 fc836413e0e6538102e63f08fb0030ed93fde048d11e98291f22f02ee5d5cff51523f25052b8ef7f268d52c2487086408ddc8547d2e12fb3a672d3a754838ce9
+DIST dasel-1.25.0.tar.gz 3053827 BLAKE2B 2902cddbb2feb4ce3f4d643e26c4b1f82f3b25a2d6e016257767fefe499bc4e52cefa784723ae2c33ff68614501a10e0aea2a8b8f000de3748c3e7f4fb0ff28f SHA512 ec2b1d0ca0acd84dc9465b0f4aa27b054a0897efbcb4dd6a94cf6de73415933e44b857e8dbcb01d3bac266597d2dfe132146d282c168b087dcd77512e5f06e72
diff --git a/app-misc/dasel/dasel-1.25.0.ebuild b/app-misc/dasel/dasel-1.25.0.ebuild
new file mode 100644
index 000000000000..261c64912713
--- /dev/null
+++ b/app-misc/dasel/dasel-1.25.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Query, update and convert data structures from the command line"
+HOMEPAGE="https://github.com/TomWright/dasel"
+SRC_URI="https://github.com/TomWright/dasel/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/dasel-1.24.3-deps.tar.xz"
+
+LICENSE="MIT Apache-2.0 BSD BSD-2 ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+src_compile() {
+ CGO_ENABLED=0 go build -o bin/dasel -ldflags="-X 'github.com/tomwright/dasel/internal.Version=${PV}'" ./cmd/dasel || die
+}
+
+src_install() {
+ dobin bin/dasel
+ dodoc CHANGELOG.md README.md
+}