[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/21: gnu: Add json-dto.
From: |
guix-commits |
Subject: |
11/21: gnu: Add json-dto. |
Date: |
Sun, 6 Nov 2022 00:11:19 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit bc27d83b96bfa45727eaa168079fc9217e9cba8a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Nov 4 13:47:16 2022 -0400
gnu: Add json-dto.
* gnu/packages/cpp.scm (json-dto): New variable.
---
gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index c789303823..928ae5e7e5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2022 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -554,6 +555,37 @@ container which uses the order in which keys were inserted
to the container
as ordering relation.")
(license license:expat)))
+(define-public json-dto
+ (package
+ (name "json-dto")
+ (version "0.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Stiffstream/json_dto")
+ (commit (string-append "v." version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wr1srp08fr2mv4fmnqr626pwiw60svn6wkvy2xg7j080mgwb3ml"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DJSON_DTO_INSTALL_SAMPLES=OFF")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'change-directory
+ (lambda _
+ (chdir "dev"))))))
+ (native-inputs (list catch2))
+ (propagated-inputs (list rapidjson)) ;#include'd
+ (home-page "https://github.com/Stiffstream/json_dto")
+ (synopsis "JSON to C++ structures conversion library")
+ (description "@code{json_dto} library is a small header-only helper for
+converting data between JSON representation and C++ structs. DTO stands for
+data transfer object.")
+ (license license:bsd-3)))
+
(define-public json-modern-cxx
(package
(name "json-modern-cxx")
- branch master updated (a60dc46c2b -> a6c90c293d), guix-commits, 2022/11/06
- 04/21: gnu: protobuf: Update to 3.21.9., guix-commits, 2022/11/06
- 07/21: gnu: fmt-for-solidity: Rename to fmt-8.0., guix-commits, 2022/11/06
- 02/21: gnu: Add libx264-next., guix-commits, 2022/11/06
- 03/21: gnu: fcitx5-gtk4: Fix build., guix-commits, 2022/11/06
- 11/21: gnu: Add json-dto.,
guix-commits <=
- 06/21: gnu: protobuf-c: Update to 1.4.1., guix-commits, 2022/11/06
- 01/21: gnu: Add libvpx-next., guix-commits, 2022/11/06
- 05/21: gnu: protobuf: Unbundle googletest., guix-commits, 2022/11/06
- 08/21: gnu: fmt: Update to 9.1.0., guix-commits, 2022/11/06
- 09/21: gnu: ccache: Update to 4.7.2., guix-commits, 2022/11/06
- 10/21: gnu: Add clara., guix-commits, 2022/11/06
- 12/21: gnu: restinio: Prepare for tests and propagate some inputs., guix-commits, 2022/11/06
- 14/21: gnu: qtwebengine: Fix build., guix-commits, 2022/11/06
- 18/21: gnu: Add python-uc-micro-py., guix-commits, 2022/11/06
- 15/21: gnu: Add python-sphinx-pytest., guix-commits, 2022/11/06