[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73915] [PATCH 39/42] gnu: Add iraf-community.
From: |
Sharlatan Hellseher |
Subject: |
[bug#73915] [PATCH 39/42] gnu: Add iraf-community. |
Date: |
Sun, 20 Oct 2024 20:52:41 +0100 |
* gnu/packages/astronomy.scm (iraf-community): New variable.
Change-Id: I7b02255f8c725a54f45f9190fc15f42233fa0374
---
gnu/packages/astronomy.scm | 71 ++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 25e6505802..3f4e8ff3bf 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1018,6 +1018,77 @@ (define-public indi
;; Default version of INDI..
indi-1.9)
+(define-public iraf-community
+ (package
+ (name "iraf-community")
+ (version "2.18")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/iraf-community/iraf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cxf8s8gldx0zc9075x8ii0aadjagifw9gpdvnpqss0q21zwrpg2"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; XXX: All tests fail, figure out how to fix them.
+ #:tests? #f
+ ;; It failes with segmentation fault in parallel build
+ #:parallel-build? #f
+ ;; No such file or directory .../lib/iraf/lib/libmemdbg.a
+ #:validate-runpath? #f
+ #:make-flags
+ #~(list (format #f "IRAFARCH=~a" (cond (#$(target-hurd?) "hurd")
+ (#$(target-64bit?) "linux64")
+ (else "linux")))
+ "MNAME=linux64"
+ (string-append "CC=" #$(cc-for-target))
+ (string-append "prefix=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ;; no configure
+ (add-after 'unpack 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (list "test/run_tests"
+ "unix/boot/spp/xc.c"
+ "unix/f2c/libf2c/makefile.u"
+ "unix/f2c/src/changes"
+ "unix/f2c/src/main.c"
+ "unix/f2c/src/makefile.u"
+ "unix/f2c/trim_f2c.sh"
+ "unix/hlib/f77.sh"
+ "unix/hlib/irafarch.sh"
+ "unix/hlib/irafcl.sh"
+ "unix/hlib/mkfloat"
+ "unix/hlib/mkiraf.sh"
+ "unix/hlib/mkmlist.sh"
+ "unix/os/zoscmd.c")
+ (("/bin/sh") (which "sh")))
+ (substitute* "unix/hlib/irafarch.sh"
+ (("/usr/bin/uname") (search-input-file inputs "/bin/uname"))
+ (("/bin/uname") (search-input-file inputs "/bin/uname")))
+ (substitute* "Makefile"
+ (("DESTDIR./etc/iraf") "prefix)/etc/iraf")))))))
+ (native-inputs
+ (list bison flex perl))
+ (inputs
+ (list curl expat ncurses readline zlib))
+ (home-page "https://iraf-community.github.io/")
+ (synopsis "Image Reduction and Analysis Facility")
+ (description
+ "IRAF is the Image Reduction and Analysis Facility, a general purpose
+software system for the reduction and analysis of astronomical data. IRAF was
+written by the @acronym{NOAO, National Optical Astronomy Observatories} in
+Tucson, Arizona. This package provides a community successor of the last IRAF
+release from 2013.")
+ ;; It's multi licenses project but primary one is MIT (Expat) it was
+ ;; checked with upstream, see
+ ;; <https://github.com/iraf-community/iraf/issues/403>.
+ (license license:expat)))
+
(define-public libnova
(package
(name "libnova")
--
2.46.0
- [bug#73915] [PATCH 30/42] gnu: python-glue-core: Adjust inputs., (continued)
- [bug#73915] [PATCH 30/42] gnu: python-glue-core: Adjust inputs., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 27/42] gnu: python-zodipy: Update to 1.1.0., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 29/42] gnu: Add python-astrodendro., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 26/42] gnu: python-tweakwcs: Update to 0.8.9., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 34/42] gnu: Add python-getdist., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 32/42] gnu: Add python-pysiril., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 31/42] gnu: Add python-hsluv., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 36/42] gnu: Add python-acstools., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 37/42] gnu: Add python-pycollada., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 35/42] gnu: Add python-coolest., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 39/42] gnu: Add iraf-community.,
Sharlatan Hellseher <=
- [bug#73915] [PATCH 28/42] gnu: python-pytest-mpl: Adjust inputs., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 42/42] gnu: python-webbpsf: Disable more failing tests., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 40/42] gnu: Add python-halotools., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 33/42] gnu: Add python-sirilic., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 41/42] gnu: python-statmorph: Skip failing tests., Sharlatan Hellseher, 2024/10/20
- [bug#73915] [PATCH 38/42] gnu: Add python-pymcubes., Sharlatan Hellseher, 2024/10/20
- bug#73915: [PATCH 00/42] Astronomy update 2024/10, Sharlatan Hellseher, 2024/10/30