aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rdf.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-23 13:33:09 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-23 13:33:09 +0200
commit030f6f489fe9544f35ebaf95135acd1dd67ce63f (patch)
treef1d5d1f1b68de81daec6f05d032a0410a475d960 /gnu/packages/rdf.scm
parent95c14929a7fbd3c55c5e8756953c2f257625e2b7 (diff)
parent938df0de739aa13c2fb483f440ec1db281a52aaa (diff)
downloadpatches-030f6f489fe9544f35ebaf95135acd1dd67ce63f.tar
patches-030f6f489fe9544f35ebaf95135acd1dd67ce63f.tar.gz
Merge branch 'master' into core-updates
Conflicts: etc/news.scm gnu/local.mk gnu/packages/bootloaders.scm gnu/packages/linphone.scm gnu/packages/linux.scm gnu/packages/tls.scm gnu/system.scm
Diffstat (limited to 'gnu/packages/rdf.scm')
-rw-r--r--gnu/packages/rdf.scm47
1 files changed, 35 insertions, 12 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 6ef8662de2..dec93ed97a 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -4,6 +4,8 @@
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
+;;; Copyright © 2020 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,8 +23,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages rdf)
- #:use-module ((guix licenses)
- #:select (non-copyleft asl2.0 isc gpl2 lgpl2.1 lgpl2.1+ lgpl3+))
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix download)
@@ -85,7 +86,7 @@ of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and
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,
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
(package
@@ -119,7 +120,7 @@ HTML and JSON.")
(description "CLucene is a high-performance, scalable, cross platform,
full-featured indexing and searching API. It is a port of the very popular
Java Lucene text search engine API to C++.")
- (license lgpl2.1)))
+ (license license:lgpl2.1)))
(define-public lucene++
(package
@@ -150,7 +151,7 @@ Java Lucene text search engine API to C++.")
(synopsis "Text search engine")
(description "Lucene++ is an up to date C++ port of the popular Java
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
(package
@@ -195,7 +196,7 @@ Lucene library, a high-performance, full-featured text search engine.")
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
taxonomic inference capability.")
- (license gpl2)))
+ (license license:gpl2)))
(define-public rasqal
(package
@@ -236,7 +237,7 @@ SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the Experimental
SPARQL extensions (LAQRS). Rasqal can write binding query results in the
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.")
- (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
(package
@@ -261,7 +262,7 @@ Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
(synopsis "RDF library")
(description "The Redland RDF Library (librdf) provides the RDF API
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
(package
@@ -295,7 +296,7 @@ knife of RDF syntax, but rather is suited to resource limited or performance
critical applications (e.g. converting many gigabytes of NTriples to Turtle),
or situations where a simple reader/writer with minimal dependencies is
ideal (e.g. in LV2 implementations or embedded applications).")
- (license isc)))
+ (license license:isc)))
(define-public sord
(package
@@ -330,7 +331,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(synopsis "C library for storing RDF data in memory")
(description
"Sord is a lightweight C library for storing RDF data in memory.")
- (license isc)))
+ (license license:isc)))
(define-public python-rdflib
(package
@@ -365,8 +366,30 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(description
"RDFLib is a Python library for working with RDF, a simple yet
powerful language for representing information.")
- (license (non-copyleft "file://LICENSE"
- "See LICENSE in the distribution."))))
+ (license (license:non-copyleft "file://LICENSE"
+ "See LICENSE in the distribution."))))
(define-public python2-rdflib
(package-with-python2 python-rdflib))
+
+(define-public python-rdflib-jsonld
+ (package
+ (name "python-rdflib-jsonld")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rdflib-jsonld" version))
+ (sha256
+ (base32
+ "1v85f4hdlrrk0l1najmqmm79ijrvcj259kwsrrxiq1q5chr5azag"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (propagated-inputs
+ `(("python-rdflib" ,python-rdflib)))
+ (home-page "https://github.com/RDFLib/rdflib-jsonld")
+ (synopsis "rdflib extension adding JSON-LD parser and serializer")
+ (description "This package provides an rdflib extension adding JSON-LD
+parser and serializer.")
+ (license license:bsd-3)))