gnu: cereal: List all licenses that apply.

* gnu/packages/serialization.scm (cereal)[license]: Add LICENSE:BOOST,
LICENSE:EXPAT, and LICENSE:NON-COPYLEFT.
This commit is contained in:
Marius Bakke 2022-08-10 00:19:53 +02:00
parent 0b55b036c1
commit 6e2f570cde
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -167,7 +167,17 @@ (define-public cereal
"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.