gnu: Add go-github-com-hjson-hjson-go.
authorraingloom <raingloom@riseup.net>
Fri, 23 Oct 2020 00:03:41 +0000 (02:03 +0200)
committerJulien Lepiller <julien@lepiller.eu>
Thu, 5 Nov 2020 17:44:06 +0000 (18:44 +0100)
* gnu/packages/golang.scm (go-github-com-hjson-hjson-go): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
gnu/packages/golang.scm

index ba75308..d4de1f5 100644 (file)
@@ -5955,3 +5955,27 @@ tests.")
     (synopsis "Golang syslog wrapper, cross-compile friendly")
     (description "This package is a very simple wrapper around log/syslog")
     (license license:expat)))
+
+(define-public go-github-com-hjson-hjson-go
+  (package
+    (name "go-github-com-hjson-hjson-go")
+    (version "3.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hjson/hjson-go")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/hjson/hjson-go"))
+    (home-page "https://hjson.org/")
+    (synopsis "Human JSON implementation for Go")
+    (description "Hjson is a syntax extension to JSON.  It is intended to be
+used like a user interface for humans, to read and edit before passing the
+JSON data to the machine.")
+    (license license:expat)))