From 0ac042324af06a5d9877dd699bf778c3a794f5f9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 29 Jun 2017 12:10:03 +0530 Subject: gnu: Add jo. * gnu/packages/web.scm (jo): New variable. --- gnu/packages/web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 3625a1034e..e91bc1f13e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4674,3 +4674,24 @@ message stream (in a web server that is per connection).") (description "@code{httpretty} is a helper for faking web requests, inspired by Ruby's @code{fakeweb}.") (license l:expat))) + +(define-public jo + (package + (name "jo") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/jpmens/jo/releases/download/v" + version "/jo-" version ".tar.gz")) + (sha256 + (base32 + "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3")))) + (build-system gnu-build-system) + (home-page "https://github.com/jpmens/jo") + (synopsis "Output JSON from a shell") + (description "jo is a command-line utility to create JSON objects or +arrays. It creates a JSON string on stdout from words provided as +command-line arguments or read from stdin.") + (license (list l:gpl2+ + l:expat)))) ; json.c, json.h -- cgit v1.2.3