guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/13: gnu: Add python-sparqlwrapper.


From: guix-commits
Subject: 12/13: gnu: Add python-sparqlwrapper.
Date: Wed, 21 Jul 2021 07:52:06 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit 281808170a2a5182f174d795232b80c1aaf30caf
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Jul 21 13:31:08 2021 +0200

    gnu: Add python-sparqlwrapper.
    
    * gnu/packages/rdf.scm (python-sparqlwrapper): New variable.
---
 gnu/packages/rdf.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 0baed8f..fb84d80 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -443,3 +443,30 @@ parser and serializer.")
 RDF data that can also be queried for Triple Patterns.  This package provides a
 C++ library as well as various command-line tools to to work with HDT.")
 (license license:lgpl2.1+)))
+
+(define-public python-sparqlwrapper
+  (package
+    (name "python-sparqlwrapper")
+    (version "1.8.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/RDFLib/sparqlwrapper.git";)
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ia5h06zf6kpw6gdi7f80pzx10m79brj08zrbffb5wn9hzz8x528"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f)) ; The test suite simply queries external HTTP endpoints.
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-rdflib" ,python-rdflib)))
+    (home-page "https://rdflib.dev/sparqlwrapper/";)
+    (synopsis "SPARQL Endpoint interface to Python")
+    (description "Python wrapper around a SPARQL service.  It helps in creating
+the query URI and, possibly, convert the result into a more manageable
+format.")
+    (license license:w3c)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]