GNU bug report logs -
#72874
[PATCH 0/8] gnu: Add toml-test.
Previous Next
Reported by: gemmaro <gemmaro.dev <at> gmail.com>
Date: Thu, 29 Aug 2024 15:10: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 #20 received at 72874 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.