aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-15 22:25:44 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-30 20:12:41 +0100
commit499be0bd4645f661c09a3c64e8eaa9e49456e6cf (patch)
treead795ab4462ef5a93e61689394d575c7a2489a28
parenteb5b8fa6fb5ebce5def303179580891f34df5d45 (diff)
downloadguix-499be0bd4645f661c09a3c64e8eaa9e49456e6cf.tar.gz
guix-499be0bd4645f661c09a3c64e8eaa9e49456e6cf.zip
gnu: Add java-cds-healpix.
* gnu/packages/astronomy.scm (java-cds-healpix): New variable. Change-Id: Ie7f19463c440c87f34e4ad6d8a4d2cdf0c9bdd72
-rw-r--r--gnu/packages/astronomy.scm30
1 files changed, 30 insertions, 0 deletions
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 @@
#: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 @@ more.")
;; 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")