From 208be0e1af641120e9cb6b06c800d545dde9c035 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sat, 29 Jul 2023 17:34:36 +0200 Subject: gnu: Add java-eclipse-rdf4j-http-client. * gnu/packages/java-rdf.scm (java-eclipse-rdf4j-http-client): New variable. --- gnu/packages/java-rdf.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3