From 8b468837e6b7a35c8a0dadca06ef9db6bf794123 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 1 Apr 2026 00:29:52 +0200 Subject: [PATCH] gnu: Add java-eclipse-jdt-annotation@2. * gnu/packages/java.scm (java-eclipse-jdt-annotation-2): New variable. Change-Id: I32974f627b3c70b440fd612846ea11579875d6fd --- gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 7a79f2b9bf8..fc4df180614 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -12376,6 +12376,38 @@ package, which was removed from the JDK in Java 11. This is the 1.2.x transitional release that still uses the @code{javax.activation} namespace.") (license license:edl1.0))) +(define-public java-eclipse-jdt-annotation-2 + (package + (name "java-eclipse-jdt-annotation") + (version "2.2.600") + (source (origin + (method url-fetch) + (uri (string-append "https://repo1.maven.org/maven2/" + "org/eclipse/jdt/org.eclipse.jdt.annotation/" + version "/org.eclipse.jdt.annotation-" + version "-sources.jar")) + (sha256 + (base32 + "1jlq14ivhj32i7glfdmk068ya1spm4wfa9h8h2p326y0fkkzwyp9")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f + #:jar-name "org.eclipse.jdt.annotation.jar" + #:source-dir "." + #:phases + (modify-phases %standard-phases + (add-before 'install 'create-pom + (generate-pom.xml "pom.xml" "org.eclipse.jdt" + "org.eclipse.jdt.annotation" ,version)) + (replace 'install (install-from-pom "pom.xml"))))) + (native-inputs (list unzip)) + (home-page "https://www.eclipse.org/jdt/") + (synopsis "Eclipse JDT null analysis annotations") + (description "This package provides the @code{@@NonNull}, @code{@@Nullable}, +and @code{@@NonNullByDefault} annotations used by Eclipse JDT for null +analysis.") + (license license:epl2.0))) + (define-public java-lmax-disruptor (package (name "java-lmax-disruptor")