aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 17:34:36 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:47 +0200
commit208be0e1af641120e9cb6b06c800d545dde9c035 (patch)
tree6eb99567c6f68249947951f937e127cade70f55c /gnu/packages
parent0c5de09b39a8a4e24343b827c1aff33d74ca70fd (diff)
downloadguix-208be0e1af641120e9cb6b06c800d545dde9c035.tar.gz
guix-208be0e1af641120e9cb6b06c800d545dde9c035.zip
gnu: Add java-eclipse-rdf4j-http-client.
* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-http-client): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java-rdf.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index e098766fc4..c5b31eeb4e 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -171,6 +171,41 @@ concepts in Java.")))
(replace 'install
(install-from-pom "pom.xml")))))
+(define-public java-eclipse-rdf4j-http-client
+ (package
+ (name "java-eclipse-rdf4j-http-client")
+ (version %rdf4j-version)
+ (source %rdf4j-source)
+ (build-system ant-build-system)
+ (arguments
+ (substitute-keyword-arguments
+ (rdf4j-common-arguments "rdf4j-http-client.jar"
+ "core/http/client")
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'install 'generate-pom.xml
+ (generate-pom.xml "guix-pom.xml"
+ "org.eclipse.rdf4j"
+ "rdf4j-http-client" #$version))
+ (replace 'install
+ (install-from-pom "guix-pom.xml"))))))
+ (inputs (list java-commons-io
+ java-httpcomponents-httpcore
+ java-httpcomponents-httpclient
+ java-slf4j-api))
+ (propagated-inputs (list java-eclipse-rdf4j-http-protocol
+ java-eclipse-rdf4j-repository-api
+ java-eclipse-rdf4j-queryparser-sparql
+ java-eclipse-rdf4j-queryresultio-api
+ java-eclipse-rdf4j-queryresultio-binary
+ java-eclipse-rdf4j-queryresultio-sparqlxml
+ java-eclipse-rdf4j-queryresultio-sparqljson))
+ (home-page "https://rdf4j.org/")
+ (synopsis "HTTP client for RDF4J")
+ (description "This package provides a client for communicating with RDF4J
+servers.")
+ (license license:epl1.0)))
+
(define-public java-eclipse-rdf4j-http-protocol
(package
(name "java-eclipse-rdf4j-http-protocol")