From fcae37f77fd2db01d61bd5162c854de0de7bdba7 Mon Sep 17 00:00:00 2001 From: raingloom Date: Fri, 23 Oct 2020 02:03:41 +0200 Subject: [PATCH 2/6] gnu: Added go-github-com-hjson-hjson-go. * gnu/packages/golang.scm (go-github-com-hjson-hjson-go): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6518c5b1b9..bc65f3ed32 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5844,3 +5844,27 @@ additions.") (description "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's 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))) + -- 2.28.0