summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 17:03:46 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:46 +0200
commit06b3c21f843aa18c47536fc8ad9ca362d345c2a3 (patch)
treef45399e47f8376db15e481abb792831ececa99ca /gnu/packages
parent0a02ff4c64c38ada2a95778032f8f6010fcab177 (diff)
downloadguix-06b3c21f843aa18c47536fc8ad9ca362d345c2a3.tar.gz
gnu: Add java-eclipse-rdf4j-query.
* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-query): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java-rdf.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index 28d31a2ecc..5615cd2d9b 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -221,6 +221,37 @@ in the RDF4J framework.")
 RDF vocabularies.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-rdf4j-query
+  (package
+    (name "java-eclipse-rdf4j-query")
+    (version %rdf4j-version)
+    (source %rdf4j-source)
+    (build-system ant-build-system)
+    (arguments
+     (substitute-keyword-arguments
+      (rdf4j-common-arguments "rdf4j-query.jar"
+                              "core/query")
+      ((#:phases phases)
+       #~(modify-phases #$phases
+           (add-before 'install 'generate-pom.xml
+             (generate-pom.xml "guix-pom.xml"
+                               "org.eclipse.rdf4j"
+                               "rdf4j-query" #$version))
+           (replace 'install
+             (install-from-pom "guix-pom.xml"))))))
+    (inputs (list java-commons-text
+                  java-slf4j-api
+                  java-fasterxml-jackson-annotations
+                  java-fasterxml-jackson-core
+                  java-fasterxml-jackson-databind))
+    (propagated-inputs (list java-eclipse-rdf4j-model
+                             java-eclipse-rdf4j-rio-api))
+    (home-page "https://rdf4j.org/")
+    (synopsis "Querying RDF")
+    (description "This package provides an interface and implementation for
+querying RDF.")
+    (license license:epl1.0)))
+
 (define-public java-eclipse-rdf4j-rio-api
   (package
     (name "java-eclipse-rdf4j-rio-api")