[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72874] [PATCH 5/8] gnu: Add go-zgo-at-jfmt.
From: |
gemmaro |
Subject: |
[bug#72874] [PATCH 5/8] gnu: Add go-zgo-at-jfmt. |
Date: |
Fri, 30 Aug 2024 00:14:07 +0900 |
* 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
- [bug#72874] [PATCH 0/8] gnu: Add toml-test., gemmaro, 2024/08/29
- [bug#72874] [PATCH 1/8] gnu: Add go-zgo-at-runewidth., gemmaro, 2024/08/29
- [bug#72874] [PATCH 2/8] gnu: Add go-zgo-at-termtext., gemmaro, 2024/08/29
- [bug#72874] [PATCH 4/8] gnu: Add go-zgo-at-zli., gemmaro, 2024/08/29
- [bug#72874] [PATCH 6/8] gnu: Add jfmt., gemmaro, 2024/08/29
- [bug#72874] [PATCH 5/8] gnu: Add go-zgo-at-jfmt.,
gemmaro <=
- [bug#72874] [PATCH 7/8] gnu: Add go-github-com-toml-lang-toml-test., gemmaro, 2024/08/29
- [bug#72874] [PATCH 3/8] gnu: Add go-zgo-at-zstd., gemmaro, 2024/08/29
- [bug#72874] [PATCH 8/8] gnu: Add toml-test., gemmaro, 2024/08/29