From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHVRO-0006T9-2A for guix-patches@gnu.org; Sat, 12 May 2018 10:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHVRK-0001BS-RA for guix-patches@gnu.org; Sat, 12 May 2018 10:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHVRK-0001BK-Lp for guix-patches@gnu.org; Sat, 12 May 2018 10:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fHVRK-0007bM-FS for guix-patches@gnu.org; Sat, 12 May 2018 10:24:02 -0400 Subject: [bug#31430] [PATCH 1/3] gnu: Add json-modern-cxx. References: In-Reply-To: Resent-Message-ID: From: Fis Trivial Date: Sat, 12 May 2018 14:23:40 +0000 Message-ID: Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: "31430@debbugs.gnu.org" <31430@debbugs.gnu.org> * gnu/packages/cpp.scm (json-modern-cxx): New variable. --- gnu/packages/cpp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 3e9c39df6..8a30d464e 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -124,3 +124,25 @@ unified access to TCP/UDP sockets, serial ports, conso= le, and files streams. It also allows a server application to wait for any activity on any combination of these streams.") (license license:bsd-3))) + +(define-public json-modern-cxx + ;; The downloaded tar ball is about 109 MiB large, the most significant = part + ;; comes from testing data file. + (package + (name "json-modern-cxx") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/nlohmann/json/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "0m5fhdpx2qll933db2nsi30nns3cifavzvijzz6mxhdkpmngmzz8")) + (file-name (string-append name "-" version ".tar.gz")))) + (home-page "https://github.com/nlohmann/json") + (build-system cmake-build-system) + (synopsis "JSON for Modern C++") + (description "JSON for Modern C++ is a C++ json library that provides +intutive syntax and trivial integration.") + (license license:expat))) --=20 2.14.3