summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGiacomo Leidi <therewasa@fishinthecalculator.me>2026-04-04 19:38:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-10 16:08:38 +0100
commitca43bd3b527eb4f37f9727077499a317c4b1375e (patch)
tree93516740f89908261eb31092c749a75b7ad69ffe /gnu
parent1fbf974d351c189cdd5b02ee082eded1747db742 (diff)
gnu: Add go-github-com-hashicorp-hcl-vault-7.
* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-hcl-vault-7): New variable. Change-Id: I6626984179711c8dab338e6e207213f93b87e6bd Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 79a3cfd371..a43b28b138 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -73,6 +73,7 @@
;;; Copyright © 2025 jgart <jgart@dismail.de>
;;; Copyright © 2025 Aleksandr Lebedev <alex.lebedev2003@icloud.com>
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
+;;; Copyright © 2026 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -12866,6 +12867,35 @@ expressing configuration which is easy for both humans and machines to read.")
(home-page "https://github.com/hashicorp/hcl")
(license license:mpl2.0)))
+(define-public go-github-com-hashicorp-hcl-vault-7
+ (package
+ (inherit go-github-com-hashicorp-hcl)
+ (name "go-github-com-hashicorp-hcl-vault-7")
+ (version "1.0.1-vault-7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/hcl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0crhhxk1357l1x4qhi83lxgvmf75j0nm7xl8w4schmjh4a62v9n6"))))
+ (arguments
+ (list
+ #:import-path "github.com/hashicorp/hcl"
+ #:test-subdirs
+ #~(list "json/..." "hcl/ast" "hcl/fmtcmd" "hcl/printer" "hcl/scanner"
+ "hcl/strconv" "hcl/token" ".")
+ #:test-flags
+ #~(list "-skip" #$(string-join '("TestFiles/list.input"
+ "TestFiles/list_comment.input"
+ "TestFiles/comment_aligned.input")
+ "|"))))
+ ;; Don't expose since it's is only needed to build
+ ;; go-github-com-hashicorp-vault-api.
+ (properties '((hidden? . #t)))))
+
(define-public go-github-com-hashicorp-hcl-v2
(package
(name "go-github-com-hashicorp-hcl-v2")