[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: Add julia-cfitsio-jll.
From: |
guix-commits |
Subject: |
10/13: gnu: Add julia-cfitsio-jll. |
Date: |
Wed, 8 Feb 2023 02:28:36 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 1973ddbb6c6255c67e256efbaeaccd1dc4587102
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Jan 30 12:12:09 2023 +0100
gnu: Add julia-cfitsio-jll.
* gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/julia-jll.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 2b0f644736..1aab2f78ce 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
+;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,6 +27,7 @@
#:use-module (guix utils)
#:use-module (guix build-system julia)
#:use-module (gnu packages)
+ #:use-module (gnu packages astronomy)
#:use-module (gnu packages audio)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
@@ -146,6 +148,48 @@ compression program.")
(description "This package provides a wrapper for the cairo library.")
(license license:expat)))
+(define-public julia-cfitsio-jll
+ (package
+ (name "julia-cfitsio-jll")
+ (version "4.0.0+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/CFITSIO_jll.jl")
+ (commit (string-append "CFITSIO-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1k0mqmpyfjr3ibcmda08llw8m166zw0n3lh5y5aj81q37lrxw990"))))
+ (build-system julia-build-system)
+ (arguments
+ '(#:tests? #f ; no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'link-depot 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (map
+ (lambda (wrapper)
+ (substitute* wrapper
+ ;; We're not downloading and unpacking cfitsio.
+ (("using LibCURL_jll") "")
+ (("using Zlib_jll") "")
+ (("generate_init_header.*") "generate_init_header()\n" )
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"CFITSIO\", \""
+ (assoc-ref inputs "cfitsio") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ (list cfitsio))
+ (propagated-inputs
+ (list julia-jllwrappers))
+ (home-page "https://github.com/JuliaBinaryWrappers/CFITSIO_jll.jl")
+ (synopsis "CFITSIO library wrappers")
+ (description "This package provides a wrapper for the cfitsio library.")
+ (license license:expat)))
+
(define-public julia-compilersupportlibraries-jll
(package
(name "julia-compilersupportlibraries-jll")
- branch master updated (99c1c7a30c -> a545d0adbb), guix-commits, 2023/02/08
- 07/13: gnu: julia-quadgk: Update to 2.5.0., guix-commits, 2023/02/08
- 08/13: gnu: julia-measurements: Update to 2.8.0., guix-commits, 2023/02/08
- 12/13: gnu: Add julia-fitsio., guix-commits, 2023/02/08
- 02/13: gnu: openbios-qemu-ppc: Don't build for a specific target., guix-commits, 2023/02/08
- 04/13: gnu: sgabios: Don't build for a specific target., guix-commits, 2023/02/08
- 03/13: gnu: seabios: Don't build for a specific target., guix-commits, 2023/02/08
- 10/13: gnu: Add julia-cfitsio-jll.,
guix-commits <=
- 13/13: gnu: julia-crayons: Update to 4.1.1., guix-commits, 2023/02/08
- 11/13: gnu: Add julia-cfitsio., guix-commits, 2023/02/08
- 01/13: gnu: openbios-qemu-ppc: Fix building on aarch64-linux., guix-commits, 2023/02/08
- 09/13: gnu: julia-optim: Update to 1.7.4., guix-commits, 2023/02/08
- 05/13: gnu: julia-latexstrings: Update to 1.3.0., guix-commits, 2023/02/08
- 06/13: gnu: go-1.16: Remove redundant native-input substitution., guix-commits, 2023/02/08