[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73399] [PATCH 20/26] gnu: Add healpix-cxx.
From: |
Sharlatan Hellseher |
Subject: |
[bug#73399] [PATCH 20/26] gnu: Add healpix-cxx. |
Date: |
Sat, 21 Sep 2024 00:31:45 +0100 |
* gnu/packages/astronomy.scm (healpix-cxx): New variable.
Change-Id: I1d70cd44efa86f89e3fc8f4f60d0b259ecd78acf
---
gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9e2cf878b9..9652d232bb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -648,6 +648,36 @@ (define-public healpix
dynamic library for the C language implementation of HEALPix.")
(license license:gpl2+)))
+(define-public healpix-cxx
+ (package
+ (inherit healpix)
+ (name "healpix-cxx")
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir-cxx
+ (lambda _
+ (chdir "src/cxx")))
+ (add-after 'chdir-cxx 'adjust-unit-tests
+ (lambda _
+ (substitute* "configure.ac"
+ ;; Run unit tests using serial harness, taken from
+ ;; <https://salsa.debian.org/debian-astro-team/healpix-cxx/>.
+ (("foreign subdir-objects -Wall -Werror")
+ "foreign serial-tests subdir-objects -Wall -Werror"))))
+ (replace 'bootstrap
+ (lambda _
+ (invoke "aclocal")
+ (invoke "automake" "--add-missing")
+ (invoke "autoconf"))))))
+ (inputs (modify-inputs (package-inputs healpix)
+ (prepend libsharp zlib)))
+ (description
+ (string-replace-substring (package-description healpix)
+ "C language"
+ "C++ language"))))
+
(define-public erfa
(package
(name "erfa")
--
2.46.0
- [bug#73399] [PATCH 08/26] gnu: python-crds: Update to 11.18.4., (continued)
- [bug#73399] [PATCH 08/26] gnu: python-crds: Update to 11.18.4., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 10/26] gnu: python-jwst: Update to 1.16.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 11/26] gnu: python-pysiaf: Update to 0.23.3., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 13/26] gnu: python-regularizepsf: Update to 0.4.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 17/26] gnu: python-sunpy: Update to 6.0.2., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 15/26] gnu: python-stcal: Update to 1.9.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 09/26] gnu: python-drizzle: Update to 1.15.3., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 16/26] gnu: python-stdatamodels: Update to 2.1.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 14/26] gnu: python-sbpy: Update to 0.5.0., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 12/26] gnu: Add python-sep-pjw., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 20/26] gnu: Add healpix-cxx.,
Sharlatan Hellseher <=
- [bug#73399] [PATCH 19/26] gnu: Add libsharp., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 22/26] gnu: Add webbpsf-data., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 18/26] gnu: Add healpix., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 24/26] gnu: Add python-ci-watson., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 21/26] gnu: Add python-metrics-logger., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 26/26] gnu: Add python-healpy., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH 25/26] gnu: Add python-pytest-cython., Sharlatan Hellseher, 2024/09/20
- [bug#73399] [PATCH v2 00/25] Astronomy update 2024/09, Sharlatan Hellseher, 2024/09/21