about summary refs log tree commit diff
path: root/hmf/packages/java-libraries.scm
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-07-01 16:27:32 +0000
committerPjotr <wrk@bosa.lan>2026-07-01 16:27:32 +0000
commit2e70b7fa417249a5f3eaaa25e58e8e7deef6104f (patch)
treeb5b2e4a5e48d96fe66cfb0b55de7328571d0cd8b /hmf/packages/java-libraries.scm
parent25e39e150a5dbb2e66c325b0b62dbc4797b93f72 (diff)
downloadhmf-guix-cwl-2e70b7fa417249a5f3eaaa25e58e8e7deef6104f.tar.gz
hmf: Add java-htsjdk 2.23.0.
hmftools' hmf-common pins htsjdk 2.23.0; Guix mainline's
java-htsjdk-latest sits at 2.14.3 with an explicit note that any newer
release requires Gradle.  Inherit java-htsjdk-latest and just bump
version and source: its phase set already discards the deprecation-
stub build.xml and removes the Scala test tree, leaving ant-build-
system to compile src/main/java with the same set of runtime inputs
(java-ngs, java-snappy-1, java-commons-compress,
java-commons-logging-minimal, java-commons-jexl-2, java-xz) that
worked for 2.14.3.  htsjdk still targets Java 1.8 bytecode.

* hmf/packages/java-libraries.scm (java-htsjdk-2.23): New variable.
Diffstat (limited to 'hmf/packages/java-libraries.scm')
-rw-r--r--hmf/packages/java-libraries.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/hmf/packages/java-libraries.scm b/hmf/packages/java-libraries.scm
index 08a9675..c0d73cf 100644
--- a/hmf/packages/java-libraries.scm
+++ b/hmf/packages/java-libraries.scm
@@ -19,7 +19,10 @@
   #:use-module (guix utils)
   #:use-module (guix build-system ant)
   #:use-module (guix build-system trivial)
-  #:use-module (gnu packages java))
+  #:use-module (gnu packages bioinformatics)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages java)
+  #:use-module (gnu packages java-compression))
 
 (define-public java-pcollections
   (package
@@ -194,3 +197,26 @@ derived at compile time.  hmf-common uses it as a compile-time-only
 (@code{provided}) annotation processor to generate ImmutableXxx
 implementations of its VCF / GRIPSS / PURPLE data model types.")
     (license license:asl2.0)))
+
+(define-public java-htsjdk-2.23
+  ;; hmftools' hmf-common pins htsjdk 2.23.0.  Guix mainline's
+  ;; java-htsjdk-latest sits at 2.14.3 with a note that any newer
+  ;; release requires Gradle to build; the ant-build-system recipe
+  ;; below inherits java-htsjdk-latest's phase set (which already
+  ;; discards the deprecation-stub build.xml and the Scala test tree)
+  ;; and just bumps to the 2.23.0 source tag.  htsjdk still targets
+  ;; Java 1.8 bytecode, so building under icedtea-8 is safe; consumers
+  ;; run it under openjdk17 at runtime.
+  (package
+    (inherit java-htsjdk-latest)
+    (name "java-htsjdk")
+    (version "2.23.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/samtools/htsjdk")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1d57pyy6j8pb0y8k8fv0m5dxynxflwx8f151c25adhsav16ad8jl"))))))