guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: Add nlohmann-json-cpp.


From: Leo Famulari
Subject: 01/04: gnu: Add nlohmann-json-cpp.
Date: Fri, 30 Jun 2017 12:44:14 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit bf7c36994066feadde81f3a33e42fd6f3767f9b5
Author: Gregor Giesen <address@hidden>
Date:   Sat Jun 24 15:03:47 2017 -0400

    gnu: Add nlohmann-json-cpp.
    
    * gnu/packages/serialization.scm (nlohmann-json-cpp): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/serialization.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 6a3d8f9..6b7461e 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2016 Marius Bakke <address@hidden>
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2017 Corentin Bocquillon <address@hidden>
+;;; Copyright © 2017 Gregor Giesen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -328,3 +329,25 @@ RPC system.  Think JSON, except binary.  Or think Protocol 
Buffers, except faste
 convert JSON documents to BSON and the opposite.  BSON stands for Binary JSON,
 it is comparable to protobuf.")
     (license license:asl2.0)))
+
+(define-public nlohmann-json-cpp
+  (package
+    (name "nlohmann-json-cpp")
+    (version "2.1.1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "https://github.com/nlohmann/json/";
+                          "archive/v" version ".tar.gz"))
+      (file-name (string-append name "-" version ".tar.gz"))
+      (sha256
+       (base32
+        "0lrh6cjd643c7kmvmwafbgq7dqj3b778483gjhjbvp6rc6z5xf2r"))))
+    (build-system cmake-build-system)
+    (home-page "https://nlohmann.github.io/json/";)
+    (synopsis "JSON library for C++")
+    (description
+     "JSON library for C++ trying to accomplish “Intuitive syntax”,
+“Trivial integration”, and “Serious testing”.
+However, “Memory efficiency” and “Speed” have not been primary goals.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]