From c71bc563f2087d81f16ebd186b72f96055c251d4 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 3 Jul 2020 16:22:43 +0200 Subject: [PATCH] gnu: Add erlang-jsone. * gnu/packages/erlang.scm (erlang-jsone): New variable. --- gnu/packages/erlang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index b2ba8b22fe..df822d5466 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -423,6 +423,29 @@ (define-public erlang-hex-core specifications.") (license license:asl2.0))) +(define-public erlang-jsone + (package + (name "erlang-jsone") + (version "1.6.1") + (source + (origin + (method hexpm-fetch) + (uri (hexpm-uri "jsone" version)) + (sha256 + (base32 "1wdbj4a736bg2fh4qk7y3h6lsdi84ivvypgbkphzy0mfz7nkc97p")))) + (build-system rebar3-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-covertool + (lambda _ + (substitute* "rebar.config" + (("\\{project_plugins, \\[covertool\\]\\}\\." _) ""))))))) + (home-page "https://github.com/sile/jsone/") + (synopsis "Erlang JSON Library") + (description "An Erlang library for encoding and decoding JSON data.") + (license license:expat))) + (define-public erlang-parse-trans (package (name "erlang-parse-trans")