From e8e9acbbc24ee29781df50832f3b979106c41415 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 11 Mar 2024 02:42:18 +0000 Subject: gn: Add python-rdflib-jsonld. python-rdflib-jsonld has been removed from upstream Guix. * gn/packages/python.scm (python-rdflib-jsonld): New variable. --- gn/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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") -- cgit v1.2.3