From 6e2f570cded7b932692ece35a879c5d6db255825 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 10 Aug 2022 00:19:53 +0200 Subject: gnu: cereal: List all licenses that apply. * gnu/packages/serialization.scm (cereal)[license]: Add LICENSE:BOOST, LICENSE:EXPAT, and LICENSE:NON-COPYLEFT. --- gnu/packages/serialization.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/serialization.scm') diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 1f2f7ff47f..79c55e2b2f 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -167,7 +167,17 @@ implement RPC protocols.") "Cereal is a header-only C++11 serialization library. Cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON.") - (license license:bsd-3))) + ;; Note: Cereal bundles forked versions of rapidxml and rapidjson + ;; (see include/cereal/external/), so list their licenses too. + (license (list license:bsd-3 ;Cereal itself + ;; The bundled RapidXML is dual Boost/Expat (users choice). + ;; RapidJSON is Expat licensed, and further bundles a + ;; stdint.h with BSD-3. + license:boost1.0 license:expat + ;; Finally, include/cereal/external/base64.hpp has a + ;; home-grown BSD-like license. + (license:non-copyleft + "file://include/cereal/external/LICENSE"))))) ;; Some packages fail with the latest version. Remove this variable ;; when unused. -- cgit v1.2.3