GNU bug report logs - #64916
[PATCH 00/18] gnu: Add yq.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Fri, 28 Jul 2023 09:07:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 64916 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 64916 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 18/18] gnu: Add yq.
Date: Fri, 28 Jul 2023 17:07:55 +0800
* gnu/packages/web.scm (yq): New variable.
---
 gnu/packages/web.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b2aea7940e..f3378065be 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5110,6 +5110,21 @@ (define-public go-github-com-mikefarah-yq-v4
 JSON, XML, properties, CSV and TSV. ")
     (license license:expat)))
 
+(define-public yq
+  (package
+    (inherit go-github-com-mikefarah-yq-v4)
+    (name "yq")
+    (arguments
+     (list #:install-source? #f
+           #:import-path "github.com/mikefarah/yq/v4"
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'rename-binary
+                 (rename-file (string-append #$output "/bin/v4")
+                              (string-append #$output "/bin/yq"))))))
+    (propagated-inputs '())
+    (inputs (package-propagated-inputs go-github-com-mikefarah-yq-v4))))
+
 (define-public go-github-com-itchyny-timefmt-go
   (package
     (name "go-github-com-itchyny-timefmt-go")
-- 
2.41.0





This bug report was last modified 1 year and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.