about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2024-03-11 02:42:18 +0000
committerArun Isaac2024-03-11 02:42:18 +0000
commite8e9acbbc24ee29781df50832f3b979106c41415 (patch)
tree84c931e10e73ef19234fa176c891992ca05dc836
parentbe336001a7665cb32abdf29b888651740322bb3d (diff)
downloadguix-bioinformatics-e8e9acbbc24ee29781df50832f3b979106c41415.tar.gz
gn: Add python-rdflib-jsonld.
python-rdflib-jsonld has been removed from upstream Guix.

* gn/packages/python.scm (python-rdflib-jsonld): New variable.
-rw-r--r--gn/packages/python.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index db2f4c9..2e0fab7 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -1773,6 +1773,30 @@ file format spec.")
       (license:fsf-free (string-append "https://web.archive.org/web/20190211105114/"
                                        "http://www.repoze.org/LICENSE.txt")))))
 
+;; Note: This package is only needed for rdflib < 6.0; supersede when
+;; the above are removed.
+(define-public python-rdflib-jsonld
+  (package
+    (name "python-rdflib-jsonld")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "rdflib-jsonld" version))
+        (sha256
+         (base32
+          "0qrshlqzv5g5bign7kjja3xf7hyk7xgayr3yd0qlqda1kl0x6z0h"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-nose))
+    (propagated-inputs
+     (list 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)))
+
 (define-public python-rdflib-shim
   (package
     (name "python-rdflib-shim")