guix-patches
[Top][All Lists]
Advanced

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

[bug#64934] [PATCH 23/42] gnu: Add java-eclipse-rdf4j-query.


From: Liliana Marie Prikler
Subject: [bug#64934] [PATCH 23/42] gnu: Add java-eclipse-rdf4j-query.
Date: Sat, 29 Jul 2023 17:03:46 +0200

* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-query): New variable.
---
 gnu/packages/java-rdf.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

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 @@ (define-public java-eclipse-rdf4j-model-vocabulary
 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")
-- 
2.41.0






reply via email to

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