gnu: rdf.scm: Use license: prefix.

* gnu/packages/rdf.scm: Use a 'license:' prefix for package licenses
instead of only importing a select number of licenses.
This commit is contained in:
Efraim Flashner 2020-04-21 12:38:19 +03:00
parent 5327b399a8
commit 5d29808bea
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -21,8 +21,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages rdf) (define-module (gnu packages rdf)
#:use-module ((guix licenses) #:use-module ((guix licenses) #:prefix license:)
#:select (non-copyleft asl2.0 isc gpl2 lgpl2.1 lgpl2.1+ lgpl3+))
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix download) #:use-module (guix download)
@ -85,7 +84,7 @@ (define-public raptor2
XML. The serialising syntaxes are RDF/XML (regular, abbreviated, XMP), XML. The serialising syntaxes are RDF/XML (regular, abbreviated, XMP),
Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT, Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT,
HTML and JSON.") HTML and JSON.")
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0 (license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
(define-public clucene (define-public clucene
(package (package
@ -119,7 +118,7 @@ (define-public clucene
(description "CLucene is a high-performance, scalable, cross platform, (description "CLucene is a high-performance, scalable, cross platform,
full-featured indexing and searching API. It is a port of the very popular full-featured indexing and searching API. It is a port of the very popular
Java Lucene text search engine API to C++.") Java Lucene text search engine API to C++.")
(license lgpl2.1))) (license license:lgpl2.1)))
(define-public lucene++ (define-public lucene++
(package (package
@ -150,7 +149,7 @@ (define-public lucene++
(synopsis "Text search engine") (synopsis "Text search engine")
(description "Lucene++ is an up to date C++ port of the popular Java (description "Lucene++ is an up to date C++ port of the popular Java
Lucene library, a high-performance, full-featured text search engine.") Lucene library, a high-performance, full-featured text search engine.")
(license (list asl2.0 lgpl3+)))); either asl or lgpl. (license (list license:asl2.0 license:lgpl3+)))); either asl or lgpl.
(define-public lrdf (define-public lrdf
(package (package
@ -195,7 +194,7 @@ (define-public lrdf
LADSPA plugins. It can also be used for general RDF manipulation. It can LADSPA plugins. It can also be used for general RDF manipulation. It can
read RDF/XLM and N3 files and export N3 files, and it also has a light read RDF/XLM and N3 files and export N3 files, and it also has a light
taxonomic inference capability.") taxonomic inference capability.")
(license gpl2))) (license license:gpl2)))
(define-public rasqal (define-public rasqal
(package (package
@ -236,7 +235,7 @@ (define-public rasqal
SPARQL extensions (LAQRS). Rasqal can write binding query results in the SPARQL extensions (LAQRS). Rasqal can write binding query results in the
SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, RDF/XML and SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, RDF/XML and
Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.") Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0 (license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
(define-public redland (define-public redland
(package (package
@ -261,7 +260,7 @@ (define-public redland
(synopsis "RDF library") (synopsis "RDF library")
(description "The Redland RDF Library (librdf) provides the RDF API (description "The Redland RDF Library (librdf) provides the RDF API
and triple stores.") and triple stores.")
(license lgpl2.1+))) ; or any choice of gpl2+ or asl2.0 (license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
(define-public serd (define-public serd
(package (package
@ -295,7 +294,7 @@ (define-public serd
critical applications (e.g. converting many gigabytes of NTriples to Turtle), critical applications (e.g. converting many gigabytes of NTriples to Turtle),
or situations where a simple reader/writer with minimal dependencies is or situations where a simple reader/writer with minimal dependencies is
ideal (e.g. in LV2 implementations or embedded applications).") ideal (e.g. in LV2 implementations or embedded applications).")
(license isc))) (license license:isc)))
(define-public sord (define-public sord
(package (package
@ -330,7 +329,7 @@ (define-public sord
(synopsis "C library for storing RDF data in memory") (synopsis "C library for storing RDF data in memory")
(description (description
"Sord is a lightweight C library for storing RDF data in memory.") "Sord is a lightweight C library for storing RDF data in memory.")
(license isc))) (license license:isc)))
(define-public python-rdflib (define-public python-rdflib
(package (package
@ -365,8 +364,8 @@ (define-public python-rdflib
(description (description
"RDFLib is a Python library for working with RDF, a simple yet "RDFLib is a Python library for working with RDF, a simple yet
powerful language for representing information.") powerful language for representing information.")
(license (non-copyleft "file://LICENSE" (license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution.")))) "See LICENSE in the distribution."))))
(define-public python2-rdflib (define-public python2-rdflib
(package-with-python2 python-rdflib)) (package-with-python2 python-rdflib))