summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.guix@thebird.nl>2020-04-21 12:41:47 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-21 12:41:47 +0300
commit0e64f12db526dbb87ec0517b02ff2f997ab7ab63 (patch)
treeb0e5cb5b18843bef0f4aca5a665cccd91272afbe
parent5d29808beaa0e68f33504c3a3bf6373b36dcabfa (diff)
downloadguix-0e64f12db526dbb87ec0517b02ff2f997ab7ab63.tar.gz
gnu: Add python-rdflib-jsonld.
* gnu/packages/rdf.scm (python-rdflib-jsonld): New variable.
-rw-r--r--gnu/packages/rdf.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 2c773af0bb..089e31b252 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.
 ;;;
@@ -369,3 +371,25 @@ powerful language for representing information.")
 
 (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)))