aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 17:34:31 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:46 +0200
commit0c5de09b39a8a4e24343b827c1aff33d74ca70fd (patch)
tree75697346a22bbd19f618a3fe4474df861092c61e
parent635387763534ee66ccb51c40d86509ec76263637 (diff)
downloadguix-0c5de09b39a8a4e24343b827c1aff33d74ca70fd.tar.gz
guix-0c5de09b39a8a4e24343b827c1aff33d74ca70fd.zip
gnu: Add java-eclipse-rdf4j-http-protocol.
* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-http-protocol): New variable.
-rw-r--r--gnu/packages/java-rdf.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index 3402f79bd5..e098766fc4 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -171,6 +171,33 @@ concepts in Java.")))
(replace 'install
(install-from-pom "pom.xml")))))
+(define-public java-eclipse-rdf4j-http-protocol
+ (package
+ (name "java-eclipse-rdf4j-http-protocol")
+ (version %rdf4j-version)
+ (source %rdf4j-source)
+ (build-system ant-build-system)
+ (arguments
+ (substitute-keyword-arguments
+ (rdf4j-common-arguments "rdf4j-http-protocol.jar"
+ "core/http/protocol")
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'install 'generate-pom.xml
+ (generate-pom.xml "guix-pom.xml"
+ "org.eclipse.rdf4j"
+ "rdf4j-http-protocol" #$version))
+ (replace 'install
+ (install-from-pom "guix-pom.xml"))))))
+ (propagated-inputs (list java-eclipse-rdf4j-rio-ntriples
+ java-eclipse-rdf4j-repository-api
+ java-eclipse-rdf4j-model))
+ (home-page "https://rdf4j.org/")
+ (synopsis "HTTP protocol for RDF4J")
+ (description "This package provides a protocol for communicating RDF
+resourcess over HTTP.")
+ (license license:epl1.0)))
+
(define-public java-eclipse-rdf4j-model
(package
(name "java-eclipse-rdf4j-model")