summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeague Sterling <teaguesterling@users.noreply.github.com>2024-05-18 05:38:26 -0700
committerGitHub <noreply@github.com>2024-05-18 06:38:26 -0600
commitfecb63843e90701667d4db7f07ef4ab9739bd985 (patch)
tree3374564e7ab517fdc1e663a5e7c3ab4fca202332
parentb33e2d09d352ef2f7c1db2f856e18fa8bd0630df (diff)
downloadspack-fecb63843e90701667d4db7f07ef4ab9739bd985.tar.gz
spack-fecb63843e90701667d4db7f07ef4ab9739bd985.tar.bz2
spack-fecb63843e90701667d4db7f07ef4ab9739bd985.tar.xz
spack-fecb63843e90701667d4db7f07ef4ab9739bd985.zip
yq: add new package (#44249)
-rw-r--r--var/spack/repos/builtin/packages/yq/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/yq/package.py b/var/spack/repos/builtin/packages/yq/package.py
new file mode 100644
index 0000000000..e3f74037b0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/yq/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class Yq(GoPackage):
+ """yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor.
+ This is different from the py-yq package that is a wrapper around jq."""
+
+ homepage = "https://mikefarah.gitbook.io/yq"
+ url = "https://github.com/mikefarah/yq/archive/refs/tags/v4.43.1.tar.gz"
+
+ maintainers("teaguesterling")
+
+ license("MIT", checked_by="teaguesterling")
+
+ version("4.43.1", sha256="e5581d28bae2bcdf70501dfd251233c592eb3e39a210956ee74965b784435d63")
+ version("4.41.1", sha256="25d61e72887f57510f88d1a30d515c7e2d79e7c6dce5c96aea7c069fcbc089e7")
+ version("4.40.7", sha256="c38024d40ee37d26caba1824965d9ea1d65468f48b2bacd45647ff4f547fa59f")
+ version("4.35.2", sha256="8b17d710c56f764e9beff06d7a7b1c77d87c4ba4219ce4ce67e7ee29670f4f13")