gnu: Add java-eclipse-rdf4j-rio-api.

* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-rio-api): New variable.
This commit is contained in:
Liliana Marie Prikler 2023-07-29 16:56:11 +02:00
parent 56202bf1d4
commit c3978ba23a
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

@ -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")