GNU bug report logs - #77975
[PATCH 00/32] Astro update 2025/04.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Mon, 21 Apr 2025 22:03:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 77975 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 77975 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 28/32] gnu: Add java-cds-healpix.
Date: Mon, 21 Apr 2025 23:03:27 +0100
* gnu/packages/astronomy.scm (java-cds-healpix): New variable.

Change-Id: Ie7f19463c440c87f34e4ad6d8a4d2cdf0c9bdd72
---
 gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1f71af4577..330ac5554f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -109,6 +109,7 @@ (define-module (gnu packages astronomy)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
@@ -1096,6 +1097,35 @@ (define-public indi
   ;; Default version of INDI..
   indi-1.9)
 
+(define-public java-cds-healpix
+  ;; XXX: Upstream bundles java-commons-math3 available in Guix, find out how
+  ;; to use the system package instead of it.
+  (package
+    (name "java-cds-healpix")
+    (version "0.30.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cds-astro/cds-healpix-java")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wi5ni6j0rvjyhz80g1gglxdimf7gnfa1kx8a3c2przzbwya0j8d"))))
+    (build-system ant-build-system)
+    (arguments
+     (list
+      #:jar-name "cdshealpix.jar"
+      #:source-dir "src/main/java/cds/healpix"
+      #:test-dir "src/test"))
+    (home-page "https://github.com/cds-astro/cds-healpix-java")
+    (synopsis "CDS HEALPix library in Java")
+    (description
+     "This package provides a @acronym{Centre de Données astronomiques de
+Strasbourg, CDS} implementation in Java of the @acronym{Hierarchical Equal
+Area isoLatitude Pixelization of a sphere , HEALPix} tesselation.")
+    (license license:bsd-3)))
+
 (define-public iraf-community
   (package
     (name "iraf-community")
-- 
2.49.0





This bug report was last modified 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.