summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 17:40:02 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:51:18 +0200
commitd165dd15ef900128d05f0c992b85882793248667 (patch)
tree7e6ab87b0f857eb914dba8284a0f13ad99d23ec7 /gnu/packages/java.scm
parent9b762bd550118239d038035d6cd1687aa8d07412 (diff)
downloadguix-d165dd15ef900128d05f0c992b85882793248667.tar.gz
gnu: Add java-mapdb.
* gnu/packages/java.scm (java-mapdb): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4e0146f7a7..614d585916 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -11280,6 +11280,38 @@ protocol-independent framework to build mail and messaging applications.")
     (license (list license:cddl1.1
                    license:gpl2)))); with classpath exception
 
+(define-public java-mapdb
+  (package
+    (name "java-mapdb")
+    (version "1.0.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jankotek/mapdb")
+                    (commit (string-append "mapdb-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1slb4h282jqvk16896lcvgm65pj3v6crcp2wvjdvad7nx7d2f1kv"))))
+    (build-system ant-build-system)
+    (arguments
+     (list #:jar-name "mapdb.jar"
+           #:source-dir "src/main/java"
+           #:test-dir "src/test"
+           #:test-exclude (list "**/ClosedThrowsExceptionTest.java"
+                                "**/ConcurrentMapInterfaceTest.java"
+                                "**/EngineTest.java"
+                                "**/Issue664Test.java"
+                                "**/MapInterfaceTest.java")
+           #:phases #~(modify-phases %standard-phases
+                        (replace 'install (install-from-pom "pom.xml")))))
+    (native-inputs (list java-junit))
+    (home-page "https://mapdb.org/")
+    (synopsis "Concurrent data structures")
+    (description "MapDB provides concurrent maps, sets and queues backed by
+disk storage or off-heap memory.")
+    (license license:bsd-3)))
+
 (define-public java-jeromq
   (package
     (name "java-jeromq")