summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2026-04-01 00:38:10 +0200
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-05-03 02:30:24 +0200
commit7c6386a8cd397e8036a98ac501dd1b9178ca251b (patch)
treea5b5e2f208ff998e826d44f886375c883d6992b3 /gnu
parent04dc846f4ed72b9bb3627d9c80cfe642d5ef8bcc (diff)
gnu: Add java-javaewah@1.2.3.
* gnu/packages/java.scm (java-javaewah-1.2.3): New variable. Change-Id: Iaa7fdbf621957061e818c56420a5399d07602da8
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm46
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 870dfcf73ae..a522ba72a1f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8808,6 +8808,52 @@ more efficient storage-wise than an uncompressed bitmap (as implemented in the
8808 ;; GPL2.0 derivates are explicitly allowed. 8808 ;; GPL2.0 derivates are explicitly allowed.
8809 (license license:asl2.0))) 8809 (license license:asl2.0)))
8810 8810
8811(define-public java-javaewah-1.2.3
8812 (package
8813 (inherit java-javaewah)
8814 (version "1.2.3")
8815 (source (origin
8816 (method git-fetch)
8817 (uri (git-reference
8818 (url "https://github.com/lemire/javaewah/")
8819 (commit (string-append "JavaEWAH-" version))))
8820 (file-name (git-file-name "java-javaewah" version))
8821 (sha256
8822 (base32
8823 "0bl1702pkzr8c8ygprmdc47lrb3m4yn4097jf6liiin54d4km8j5"))))
8824 (arguments
8825 `(#:jar-name "javaewah.jar"
8826 #:phases
8827 (modify-phases %standard-phases
8828 (add-before 'check 'enable-assertions
8829 (lambda _
8830 ;; FuzzEWAHTest requires assertions enabled in the JVM.
8831 (substitute* "build.xml"
8832 (("haltonfailure=\"yes\">")
8833 "haltonfailure=\"yes\"><jvmarg value=\"-ea\" />"))))
8834 (add-after 'build 'add-osgi-manifest
8835 (lambda _
8836 ;; The Maven Central jar has OSGi manifest attributes set by
8837 ;; Maven Bundle Plugin. The NetBeans build uses
8838 ;; Bundle-SymbolicName as a fallback for OpenIDE-Module when
8839 ;; wrapping external libraries as modules.
8840 (call-with-output-file "osgi-manifest.mf"
8841 (lambda (port)
8842 (display (string-append
8843 "Bundle-ManifestVersion: 2\n"
8844 "Bundle-SymbolicName: com.googlecode.javaewah.JavaEWAH\n"
8845 "Bundle-Version: " ,version "\n"
8846 "Export-Package: com.googlecode.javaewah,"
8847 "com.googlecode.javaewah.datastructure,"
8848 "com.googlecode.javaewah.symmetric\n"
8849 "Import-Package: com.googlecode.javaewah,"
8850 "com.googlecode.javaewah.datastructure\n"
8851 "Multi-Release: true\n")
8852 port)))
8853 (invoke "jar" "ufm" "build/jar/javaewah.jar"
8854 "osgi-manifest.mf")))
8855 (replace 'install (install-from-pom "pom.xml")))))))
8856
8811(define-public java-slf4j-api 8857(define-public java-slf4j-api
8812 (package 8858 (package
8813 (name "java-slf4j-api") 8859 (name "java-slf4j-api")