diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-04-01 00:31:56 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-05-03 02:30:22 +0200 |
| commit | c72142f4c46a3d9f6aa75fa29c8d4f06f40e407e (patch) | |
| tree | 5368c1c9a990e040c446b4631d9a4bba5b4fd8c9 /gnu/packages/java.scm | |
| parent | bebdf78496a6782cce56a4fe23a6c79b9b96ef3e (diff) | |
gnu: Add java-junixsocket-common@2.
* gnu/packages/java.scm (java-junixsocket-common-2): New variable.
(junixsocket-source): New variable.
Change-Id: I1054694feb2e8a39cf03b432feb0506ae9bc22bd
Diffstat (limited to 'gnu/packages/java.scm')
| -rw-r--r-- | gnu/packages/java.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 10ef65126c0..5f0ce62c33b 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -12441,6 +12441,49 @@ analysis.") | |||
| 12441 | @code{@@SuppressFBWarnings} and @code{@@ExcludeFromCodeCoverageGeneratedReport}.") | 12441 | @code{@@SuppressFBWarnings} and @code{@@ExcludeFromCodeCoverageGeneratedReport}.") |
| 12442 | (license license:asl2.0))) | 12442 | (license license:asl2.0))) |
| 12443 | 12443 | ||
| 12444 | (define junixsocket-source | ||
| 12445 | (origin | ||
| 12446 | (method git-fetch) | ||
| 12447 | (uri (git-reference | ||
| 12448 | (url "https://github.com/kohlschutter/junixsocket") | ||
| 12449 | (commit "junixsocket-parent-2.5.1"))) | ||
| 12450 | (file-name (git-file-name "java-junixsocket" "2.5.1")) | ||
| 12451 | (sha256 | ||
| 12452 | (base32 | ||
| 12453 | "1zc84qbl2zsi9ch6b12crbiqlrkbrlw1z09kqlj04zrmck4k4pzn")))) | ||
| 12454 | |||
| 12455 | (define-public java-junixsocket-common-2 | ||
| 12456 | (package | ||
| 12457 | (name "java-junixsocket-common") | ||
| 12458 | (version "2.5.1") | ||
| 12459 | (source junixsocket-source) | ||
| 12460 | (build-system ant-build-system) | ||
| 12461 | (arguments | ||
| 12462 | `(#:jar-name "junixsocket-common.jar" | ||
| 12463 | #:source-dir "junixsocket-common/src/main/java" | ||
| 12464 | #:jdk ,openjdk9 | ||
| 12465 | #:tests? #f | ||
| 12466 | #:phases | ||
| 12467 | (modify-phases %standard-phases | ||
| 12468 | (add-after 'unpack 'delete-module-info | ||
| 12469 | (lambda _ | ||
| 12470 | ;; module-info.java requires modules not available in | ||
| 12471 | ;; our build (com.kohlschutter.annotations.compiletime, | ||
| 12472 | ;; org.eclipse.jdt.annotation). The classes compile | ||
| 12473 | ;; and work without JPMS metadata. | ||
| 12474 | (delete-file | ||
| 12475 | "junixsocket-common/src/main/java/module-info.java"))) | ||
| 12476 | (replace 'install | ||
| 12477 | (install-from-pom "junixsocket-common/pom.xml"))))) | ||
| 12478 | (inputs (list java-eclipse-jdt-annotation-2 | ||
| 12479 | java-kohlschutter-compiler-annotations-1)) | ||
| 12480 | (home-page "https://github.com/kohlschutter/junixsocket") | ||
| 12481 | (synopsis "Java library for Unix domain sockets") | ||
| 12482 | (description "junixsocket is a Java library for Unix domain sockets | ||
| 12483 | (AF_UNIX) and other address/protocol families, providing a Java Socket API | ||
| 12484 | compatible interface.") | ||
| 12485 | (license license:asl2.0))) | ||
| 12486 | |||
| 12444 | (define-public java-lmax-disruptor | 12487 | (define-public java-lmax-disruptor |
| 12445 | (package | 12488 | (package |
| 12446 | (name "java-lmax-disruptor") | 12489 | (name "java-lmax-disruptor") |
