unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: gemmaro <gemmaro.dev@gmail.com>
To: 72874@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>, gemmaro <gemmaro.dev@gmail.com>
Subject: [bug#72874] [PATCH 5/8] gnu: Add go-zgo-at-jfmt.
Date: Fri, 30 Aug 2024 00:14:07 +0900	[thread overview]
Message-ID: <045b96a9c5700486f8ce06e79eb9aa27686969ee.1724943942.git.gemmaro.dev@gmail.com> (raw)
In-Reply-To: <cover.1724943942.git.gemmaro.dev@gmail.com>

* gnu/packages/golang-xyz.scm (go-zgo-at-jfmt): New variable.

Change-Id: I3b8d37bf30dd4f1a1da657c5279a5e6efab55aea
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cc9f4e56d9..1c37fe0355 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6906,6 +6906,38 @@ (define-public go-mvdan-cc-editorconfig
 defined in @url{https://editorconfig.org/,https://editorconfig.org/}.")
     (license license:bsd-3)))
 
+(define-public go-zgo-at-jfmt
+  (package
+    (name "go-zgo-at-jfmt")
+    (version "0.0.0-20240531161922-a97493b8db3c")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/arp242/jfmt")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0vm38kp46m1drxx16prbjwrc575vv7819ci16p96i0mksnnlfxj3"))
+       (modules '((guix build utils)))
+       ;; TODO: some tests fail.
+       (snippet '(begin
+                   (delete-file "testdata/escape.json")
+                   (delete-file "testdata/toml-test-key-escapes.json")
+                   (delete-file
+                    "testdata/toml-test-string-quoted-unicode.json")))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "zgo.at/jfmt"))
+    (propagated-inputs (list go-zgo-at-zstd go-zgo-at-zli go-zgo-at-termtext))
+    (home-page "https://github.com/arp242/jfmt")
+    (synopsis "JSON formatter written in Go")
+    (description
+     "@samp{jfmt} is a JSON formatter.  It tries to be a little smarter
+about what should be on a single line, and so on.")
+    (license license:expat)))
+
 (define-public go-zgo-at-runewidth
   (package
     (name "go-zgo-at-runewidth")
-- 
2.45.2





  parent reply	other threads:[~2024-08-29 15:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 15:07 [bug#72874] [PATCH 0/8] gnu: Add toml-test gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 1/8] gnu: Add go-zgo-at-runewidth gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 2/8] gnu: Add go-zgo-at-termtext gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 3/8] gnu: Add go-zgo-at-zstd gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 4/8] gnu: Add go-zgo-at-zli gemmaro
2024-08-29 15:14 ` gemmaro [this message]
2024-08-29 15:14 ` [bug#72874] [PATCH 6/8] gnu: Add jfmt gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 7/8] gnu: Add go-github-com-toml-lang-toml-test gemmaro
2024-08-29 15:14 ` [bug#72874] [PATCH 8/8] gnu: Add toml-test gemmaro
2024-09-23 21:24 ` bug#72874: [PATCH 0/8] " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=045b96a9c5700486f8ce06e79eb9aa27686969ee.1724943942.git.gemmaro.dev@gmail.com \
    --to=gemmaro.dev@gmail.com \
    --cc=72874@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).