aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 16:59:18 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:45 +0200
commitb0c49196d3ac4b52cf6c033a9a7c617dc95306d5 (patch)
tree64cc259390c970a0b5e2b9fee59491a459207c34
parent790dcd2a22257d4820829bcafb361c205e8c2bfa (diff)
downloadguix-b0c49196d3ac4b52cf6c033a9a7c617dc95306d5.tar.gz
guix-b0c49196d3ac4b52cf6c033a9a7c617dc95306d5.zip
gnu: Add java-eclipse-rdf4j-rio-jsonld.
* gnu/packages/java-rdf.scm (java-eclipse-rdf4j-rio-jsonld): New variable.
-rw-r--r--gnu/packages/java-rdf.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/java-rdf.scm b/gnu/packages/java-rdf.scm
index 7329efb5d3..52c4b4c69b 100644
--- a/gnu/packages/java-rdf.scm
+++ b/gnu/packages/java-rdf.scm
@@ -264,6 +264,39 @@ various RDF formats.")
(description "This package provides datatype handlers used in RDF4J.")
(license license:epl1.0)))
+(define-public java-eclipse-rdf4j-rio-jsonld
+ (package
+ (name "java-eclipse-rdf4j-rio-jsonld")
+ (version %rdf4j-version)
+ (source %rdf4j-source)
+ (build-system ant-build-system)
+ (arguments
+ (substitute-keyword-arguments
+ (rdf4j-common-arguments "rdf4j-rio-jsonld.jar"
+ "core/rio/jsonld")
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'install 'generate-pom.xml
+ (generate-pom.xml "guix-pom.xml"
+ "org.eclipse.rdf4j"
+ "rdf4j-rio-jsonld" #$version))
+ (replace 'install
+ (install-from-pom "guix-pom.xml"))))))
+ (inputs (list java-commons-io
+ java-slf4j-api
+ java-fasterxml-jackson-core
+ java-fasterxml-jackson-databind
+ java-jsonld-java))
+ (propagated-inputs (list java-eclipse-rdf4j-rio-api
+ java-eclipse-rdf4j-rio-datatypes
+ java-eclipse-rdf4j-rio-languages
+ java-eclipse-rdf4j-model))
+ (home-page "https://rdf4j.org/")
+ (synopsis "RDF JSON-LD serialization")
+ (description "This package provides an implementation of the RDF4J Rio API,
+which reads and writes JSON-LD.")
+ (license license:epl1.0)))
+
(define-public java-eclipse-rdf4j-rio-languages
(package
(name "java-eclipse-rdf4j-rio-languages")