aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 16:56:11 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:45 +0200
commitc3978ba23ac9833ff7348d3acfd77cd7b00f2d91 (patch)
tree0c346da985406f938e05ebf39a0f8c55ea662634 /gnu/packages
parent56202bf1d4e20c6a84fb1ea68a00bc8a6ba8d5d0 (diff)
downloadguix-c3978ba23ac9833ff7348d3acfd77cd7b00f2d91.tar.gz
guix-c3978ba23ac9833ff7348d3acfd77cd7b00f2d91.zip
gnu: Add java-eclipse-rdf4j-rio-api.
* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-rio-api): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java-rdf.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index dc662c192f..81967f5322 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -23,6 +23,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system ant)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages java))
@@ -220,6 +221,33 @@ in the RDF4J framework.")
RDF vocabularies.")
(license license:epl1.0)))
+(define-public java-eclipse-rdf4j-rio-api
+ (package
+ (name "java-eclipse-rdf4j-rio-api")
+ (version %rdf4j-version)
+ (source %rdf4j-source)
+ (build-system ant-build-system)
+ (arguments
+ (substitute-keyword-arguments
+ (rdf4j-common-arguments "rdf4j-rio-api.jar"
+ "core/rio/api")
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'install 'generate-pom.xml
+ (generate-pom.xml "guix-pom.xml"
+ "org.eclipse.rdf4j"
+ "rdf4j-rio-api" #$version))
+ (replace 'install
+ (install-from-pom "guix-pom.xml"))))))
+ (inputs (list java-commons-codec java-commons-io java-slf4j-api
+ java-jsonld-java))
+ (propagated-inputs (list java-eclipse-rdf4j-model))
+ (home-page "https://rdf4j.org/")
+ (synopsis "RDF Input/Output API")
+ (description "This package provides an API for parsers and writers of
+various RDF formats.")
+ (license license:epl1.0)))
+
(define-public java-eclipse-rdf4j-util
(package
(name "java-eclipse-rdf4j-util")