guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/28: gnu: Add go-github-com-yosuke-furukawa-json5.


From: guix-commits
Subject: 23/28: gnu: Add go-github-com-yosuke-furukawa-json5.
Date: Thu, 2 Jan 2025 12:15:00 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 57d278342aa0c010142a6ae14a469e016b695c64
Author: Roman Scherer <roman@burningswell.com>
AuthorDate: Sun Dec 29 13:14:31 2024 +0100

    gnu: Add go-github-com-yosuke-furukawa-json5.
    
    * gnu/packages/golang-xyz.scm (go-github-com-yosuke-furukawa-json5): New 
variable.
    
    Change-Id: Icac16f1dd4c696b5c701e3208e46b83cd9804fe1
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2a4a675a3d..66ce4d11d6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -12804,6 +12804,34 @@ the Jaro distance, the Jaro-Winkler distance, and 
more.")
 detection.")
     (license license:asl2.0)))
 
+;; XXX: The latest release v0.1.1 was in 2014, master branch has more changes
+;; since that time, use the latest commit.
+(define-public go-github-com-yosuke-furukawa-json5
+  (let ((commit "cf7bb3f354ffe5d5ad4c9b714895eab7e0498b5f")
+        (revision "0"))
+    (package
+      (name "go-github-com-yosuke-furukawa-json5")
+      (version (git-version "0.1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/yosuke-furukawa/json5";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05h9ipfjr2ww8b89zq1sm1q9wfasjnmzwlxa241wppqajn3rvr7s"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/yosuke-furukawa/json5"))
+      (home-page "https://github.com/yosuke-furukawa/json5";)
+      (synopsis "JSON5 implemented in Golang")
+      (description
+       "This package provides an implementation of
+@url{https://github.com/yosuke-furukawa/json5, JSON5}.")
+      (license license:bsd-3))))
+
 (define-public go-github-com-yuin-gopher-lua
   (package
     (name "go-github-com-yuin-gopher-lua")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]