From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 13 17:17:07 2023 Received: (at submit) by debbugs.gnu.org; 13 Jan 2023 22:17:07 +0000 Received: from localhost ([127.0.0.1]:52637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGSMF-0006Wf-53 for submit@debbugs.gnu.org; Fri, 13 Jan 2023 17:17:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:43388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGSMD-0006WY-AO for submit@debbugs.gnu.org; Fri, 13 Jan 2023 17:17:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGSMD-00064Y-5U for guix-patches@gnu.org; Fri, 13 Jan 2023 17:17:05 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGSMB-0005rr-06 for guix-patches@gnu.org; Fri, 13 Jan 2023 17:17:04 -0500 Received: by mail-wr1-x42c.google.com with SMTP id z5so21247736wrt.6 for ; Fri, 13 Jan 2023 14:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zjSA4sSaoWiU7t7aNS5kH5UgqxRKdkg+MLFIwF7rBDo=; b=GYBDSis8iJx8S2z9Lz9/3BLK5V58S2nF6qcp9eKGbaGAJT95ibzYCqeziVZohA3nfu pdKTNVW9isnXsY3MV1YFMcTFcQehgRmFNpRpV8TYB74tss3E1ZhfG3w1GkAXW+cpGmUX BTQN4RFDO6XmEnslrpccLmaikq4efClQJxEiMpf28mlaAn8czyB19rAzaFH2PSX9JKlh tFZptmFIgkTiXz9QdxRmLQcTEokCFZqZv9HdyUIbeFzmyL+FclxpEWUKBtQQp9aTi3uz gYw5c35w1qs5qJuUUrxiENEdBi0ERWdCAkW14HirCoRjjLGN93fNhiLXbfe/wobOUKer YQOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zjSA4sSaoWiU7t7aNS5kH5UgqxRKdkg+MLFIwF7rBDo=; b=AY5OEWzaLzcGFHct6BfMELRktJg5xfBhSQOD1ixJ8+/RVf6dPkMhgvs4co8rfEPWM8 dlcmr1V4eTJgHuaJhd6YsjPsu2zbHUhXI3s8iZxGHvkwUwVL1HVhXLeoKUuUReP9COva XJhkZAP7Z2BwgWFcRIDg0SJGUHO0ugs/uUq7OvEjv5lGW8HZqEPg9STgLkxUzp364+1x A10JfpEyUBz/sulkycQng4bnLRMxy+DQ8jgZfs5skk3vSVsfwTqCGA261/SjKPswPm6K 1CRr05blRUGGaUv7vL2I0acI/gkidWy358KW4qBdUMx39Wc9yuP48U6RDYo7JZ4WWg9s fOgw== X-Gm-Message-State: AFqh2kqKufKvYQ/gG9uADqBbimkcBYHpnjlTuYXpZqUyFTSM5Ic5exQD KLiv09+Zn4ceFCCjDzf0yDskceE5Tfw= X-Google-Smtp-Source: AMrXdXuhZRMiSeBHrVI550T115MKMEyDb1ku+vGbunQngM2RkzeDQGMzcETHUKvcYp6S567FaqZF/A== X-Received: by 2002:adf:ec90:0:b0:2bb:5d8c:9575 with SMTP id z16-20020adfec90000000b002bb5d8c9575mr17593192wrn.12.1673648221184; Fri, 13 Jan 2023 14:17:01 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id w8-20020adf8bc8000000b002bdc39849d1sm7647241wra.44.2023.01.13.14.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 14:17:00 -0800 (PST) From: Sharlatan Hellseher To: guix-patches@gnu.org Subject: [PATCH] gnu: Add julia-cfitsio-jll. Date: Fri, 13 Jan 2023 22:16:58 +0000 Message-Id: <20230113221658.8158-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable. --- gnu/packages/julia-jll.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 2b0f644736..364088c4b0 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Jean-Baptiste Volatier +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,12 +22,14 @@ (define-module (gnu packages julia-jll) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system julia) #:use-module (gnu packages) #:use-module (gnu packages audio) + #:use-module (gnu packages astronomy) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) @@ -146,6 +149,48 @@ (define-public julia-cairo-jll (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 + (list + #: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 + (("using LibCURL_jll") "") ; Not require to download cfitsio. + (("using Zlib_jll") "") ; Not require to upnpack not donwloaded archvie. + (("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") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 16 13:36:53 2023 Received: (at 60793) by debbugs.gnu.org; 16 Jan 2023 18:36:53 +0000 Received: from localhost ([127.0.0.1]:34857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHULl-00063U-6O for submit@debbugs.gnu.org; Mon, 16 Jan 2023 13:36:53 -0500 Received: from mail-wm1-f44.google.com ([209.85.128.44]:53894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHULi-00062j-GM for 60793@debbugs.gnu.org; Mon, 16 Jan 2023 13:36:51 -0500 Received: by mail-wm1-f44.google.com with SMTP id l8so3511971wms.3 for <60793@debbugs.gnu.org>; Mon, 16 Jan 2023 10:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=JaTJNtfpTS/nYF7ibdF2FETC1QvmfxE/LQyMngPmqIY=; b=UCCI7P17Azyn3I3xDl2c6Gof+aad0Fuu5MviBd8y0KqSfoAGsT/pSxBaIkdltKvbz4 1FhzcO52d++JFL42FzIaTw6GpHstC9FtiUnHxXqUjxkpd8T2ySOhAZD8wtrUpGPOR5xr nXFmAq/mujNRzOs+moajD5LG8+H/nq+FF3SWP8tdKUxEOI5xpUuGa+XrHj52dTNdCpxf WvSC9mTMwQtCq5LCdjl+ReOJLrXT7Q3G8xdm/cFrK9aK0o1Q6evFjPV4KtlBwB28GR0g Nl6b55z/gGZuDTazn3BIP1fj6Jcz01ynObJItQ4ymdNNJAGqRiwdQeP1GwSntXxapb5k N/sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JaTJNtfpTS/nYF7ibdF2FETC1QvmfxE/LQyMngPmqIY=; b=HcgLS0769QvivFB7/PIkOybSFM7m/vykqReqoWDwwHvjlhENmmhxXF7WXZriZDom+e 3z/7rvT3I+gxoS3GUDiOuM59xVD238djAsGtQPZsoFAO+1PE56Oa80g8RikHYEq8u947 aA2Fkiyw4dp3obm7x5+P3WZzzpWoalzrjDfBgO1CV29J+z1BGGYyRtb2lt/LeynpPx7j mTRkrhEmr89kosaPLYZZPXXWzNHoV2FbHtAXGLmVsZN2jfokLQf5Uwhy6olCW1QXyWg2 p8938QvUve0XulQdZMbYtcV+6j5+ybEXIMR8qUQTer3KQK0672IqAAjSo8alGqgICj6F FyNQ== X-Gm-Message-State: AFqh2kric0DwgePMvFeqt3jfHNYBByQ+ZZ89fzKKWb+wI0mFtnbuJjOD jeZ9AxmUd8C4WpwheHXMgZLys+uQXQM= X-Google-Smtp-Source: AMrXdXuv2OxJhqemV5yF8hv4j3v9TsXN5bioQ+sMS4VrdeLw+xMmNpqX/Hiunuq3wRnsa/jzXHMDCQ== X-Received: by 2002:a7b:c849:0:b0:3db:303:2724 with SMTP id c9-20020a7bc849000000b003db03032724mr132963wml.1.1673894204974; Mon, 16 Jan 2023 10:36:44 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id g15-20020a05600c4ecf00b003daff80f16esm3682228wmq.27.2023.01.16.10.36.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 10:36:44 -0800 (PST) From: Simon Tournier To: Sharlatan Hellseher , 60793@debbugs.gnu.org Subject: Re: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. In-Reply-To: <20230113221658.8158-1-sharlatanus@gmail.com> References: <20230113221658.8158-1-sharlatanus@gmail.com> Date: Mon, 16 Jan 2023 18:08:30 +0100 Message-ID: <87zgais8z5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On ven., 13 janv. 2023 at 22:16, Sharlatan Hellseher wrote: > * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable. Thank for this patch. Well, out of curiosity, why is this package required? I mean, usually JLL packages are binding to access from Julia to some libraries. Therefore, do you plan to use this package for another regular Julia package? > + #:use-module (guix gexp) [...] > + #~(modify-phases %standard-phases > + (add-after 'link-depot 'override-binary-path > + (lambda* (#:key inputs #:allow-other-keys) [...] > + (assoc-ref inputs "cfitsio") "\")\n")))) I do not think (guix gexp) is required here. For instance, other packages just use, for instance: --8<---------------cut here---------------start------------->8--- (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 (("artifact\"FFMPEG\"") (string-append "\"" (assoc-ref inputs "ffmpeg") "\"")))) ;; There's a Julia file for each platform, override them all (find-files "src/wrappers/" "\\.jl$"))))))) --8<---------------cut here---------------end--------------->8--- Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 16 15:36:22 2023 Received: (at 60793) by debbugs.gnu.org; 16 Jan 2023 20:36:22 +0000 Received: from localhost ([127.0.0.1]:34934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHWDO-0000iQ-3B for submit@debbugs.gnu.org; Mon, 16 Jan 2023 15:36:22 -0500 Received: from mail-qk1-f172.google.com ([209.85.222.172]:41492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHWDL-0000iB-L6 for 60793@debbugs.gnu.org; Mon, 16 Jan 2023 15:36:20 -0500 Received: by mail-qk1-f172.google.com with SMTP id w21so1743942qkf.8 for <60793@debbugs.gnu.org>; Mon, 16 Jan 2023 12:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JGk6NYCqvLSBcqM+ZTpfMxdPLoF5ykTRh9sC4XjDsCo=; b=PtDsl3LbyamiMc6GVl/CZAVWoseAhWx8I7oRvR1ZN9bcKg48QDozrWvDh0YCL1I7bt JrAOjRb5EKYjsfqZpqcCeELyhGs2w6YnTVWPf2R0M9cbTer2+WQhcXX86rHT/SZBHp5B zaQePId35OhnMwu1xhzwUfjlzu+8sRNlZgytLzErAuN8kIp0M7gyPz0zLMwkWd6lWy9T Er9Ykr1yHpBx908AHoQUeoRNBn4xx+JCl5f53JDd8i65rVtCVgvmC+veFVDIsQE3/D6S O23rRjUmvfurkcDPv4Ir3MBnodtBb+z3VzUGnpaIXTerrrMNP3lsQTFkVSCInbbNMCXU F5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JGk6NYCqvLSBcqM+ZTpfMxdPLoF5ykTRh9sC4XjDsCo=; b=W6g/dDQtAhiO7KREKE5Q/ykaVi5y8Y4sQR6ncs3REXsBf96GbdynjXmsp65W5WvVaI +ISA4UzmkfnXejoMs9ScRLOiXcGC+AX/x8AOYbZ9OvuFLKBKmDuSu0UGw0mEfMFDAgfW UytecDDu+zP+oCOeZZkAL/FNwyIRfFBLhIVigtYbjKScggjr6AByq2bIgZeydBNceLwC SWxuuOzh6zeRVTq1p21iMPxarDGUt6y1ELV8VqZGbFGctcsE65yL8kssIGUZBD1e2Vjs cCwGn50OEXqy55HS1jMdJIexhdwv80BikWm2FYM6K8bIKI6yZ0nSsPE5n47sJ+EjoXFj 3nXg== X-Gm-Message-State: AFqh2kr83SJdQJuHVXbQT6CS24DdPK10GXLgxec4KtSWG3AFp4MUgS8S Yk/vH6urohnKQfDubjy27YeXFmjAgAhtYlNFE58= X-Google-Smtp-Source: AMrXdXsB0kKsyXd0vdoBP/Y5Nx8vW68+qEPPt3t31MVZV9JiHF6ws5YP4FL+P+72dsulO+TkfEgxl8NRgXugvDjtQlk= X-Received: by 2002:a37:ef0b:0:b0:705:48ec:a949 with SMTP id j11-20020a37ef0b000000b0070548eca949mr9252qkk.418.1673901374030; Mon, 16 Jan 2023 12:36:14 -0800 (PST) MIME-Version: 1.0 References: <20230113221658.8158-1-sharlatanus@gmail.com> <87zgais8z5.fsf@gmail.com> In-Reply-To: <87zgais8z5.fsf@gmail.com> From: Sharlatan Hellseher Date: Mon, 16 Jan 2023 20:36:03 +0000 Message-ID: Subject: Re: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. To: Simon Tournier Content-Type: multipart/alternative; boundary="000000000000c9c70105f2678833" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: 60793@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c9c70105f2678833 Content-Type: text/plain; charset="UTF-8" Hi Simon, Thanks for your review and comments. Yes it's a long journey to bring Julia's Astronomical projects to Guix. Here is my plan: https://git.sr.ht/~hellseher/ffab/tree/main/item/org/astronomy.org#L1202 cfitsio, wcs and erfa would be essential jll bindings for base Julia packages. I've got a question on how to group Julia packages related just to Astronomy. gnu/packages/astronomy.scm contains python bindings to cfitsio, wcs and erfa would I follow the same pass and add Julia packages next to them? Regards, Oleg On Mon, 16 Jan 2023, 18:36 Simon Tournier, wrote: > Hi, > > On ven., 13 janv. 2023 at 22:16, Sharlatan Hellseher < > sharlatanus@gmail.com> wrote: > > * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable. > > Thank for this patch. > > Well, out of curiosity, why is this package required? I mean, usually > JLL packages are binding to access from Julia to some libraries. > Therefore, do you plan to use this package for another regular Julia > package? > > > > + #:use-module (guix gexp) > > [...] > > > + #~(modify-phases %standard-phases > > + (add-after 'link-depot 'override-binary-path > > + (lambda* (#:key inputs #:allow-other-keys) > > [...] > > > + (assoc-ref inputs "cfitsio") "\")\n")))) > > I do not think (guix gexp) is required here. For instance, other > packages just use, for instance: > > --8<---------------cut here---------------start------------->8--- > (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 > (("artifact\"FFMPEG\"") > (string-append "\"" (assoc-ref inputs "ffmpeg") > "\"")))) > ;; There's a Julia file for each platform, override them all > (find-files "src/wrappers/" "\\.jl$"))))))) > --8<---------------cut here---------------end--------------->8--- > > > Cheers, > simon > --000000000000c9c70105f2678833 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Simon,

Th= anks for your review and comments.

Yes it's a long journey to bring Julia's Astronomical pr= ojects to Guix.


cfitsio, wcs and erfa would be essential jll bindings for base Julia pack= ages.

I've got a que= stion on how to group Julia packages related just to Astronomy. gnu/package= s/astronomy.scm contains python bindings to cfitsio, wcs and erfa would I f= ollow the same pass and add Julia packages next to them?

Regards,
Oleg
=

= On Mon, 16 Jan 2023, 18:36 Simon Tournier, <zimon.toutoune@gmail.c= om> wrote:
Hi,

On ven., 13 janv. 2023 at 22:16, Sharlatan Hellseher <shar= latanus@gmail.com> wrote:
> * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable.

Thank for this patch.

Well, out of curiosity, why is this package required?=C2=A0 I mean, usually=
JLL packages are binding to access from Julia to some libraries.
Therefore, do you plan to use this package for another regular Julia
package?


> +=C2=A0 #:use-module (guix gexp)

[...]

> +=C2=A0 =C2=A0 =C2=A0 #~(modify-phases %standard-phases
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (add-after 'link-depot 'ov= erride-binary-path
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda* (#:key inputs #:al= low-other-keys)

[...]

> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0(assoc-ref inputs "cfitsio") "\")\n"))))
I do not think (guix gexp) is required here.=C2=A0 For instance, other
packages just use, for instance:

--8<---------------cut here---------------start------------->8---
=C2=A0 =C2=A0 (arguments
=C2=A0 =C2=A0 =C2=A0'(#:tests? #f ; no runtests
=C2=A0 =C2=A0 =C2=A0 =C2=A0#:phases
=C2=A0 =C2=A0 =C2=A0 =C2=A0(modify-phases %standard-phases
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(add-after 'link-depot 'override-= binary-path
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda* (#:key inputs #:allow-oth= er-keys)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(map
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda (wrapper) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(substitute* = wrapper
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0((&quo= t;artifact\"FFMPEG\"")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (stri= ng-append "\"" (assoc-ref inputs "ffmpeg") "\= ""))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; There's a Jul= ia file for each platform, override them all
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(find-files "sr= c/wrappers/" "\\.jl$")))))))
--8<---------------cut here---------------end--------------->8---


Cheers,
simon
--000000000000c9c70105f2678833-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 03:39:37 2023 Received: (at 60793) by debbugs.gnu.org; 17 Jan 2023 08:39:37 +0000 Received: from localhost ([127.0.0.1]:35610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHhVJ-0005An-0u for submit@debbugs.gnu.org; Tue, 17 Jan 2023 03:39:37 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:44625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHhVA-0005AG-Uw for 60793@debbugs.gnu.org; Tue, 17 Jan 2023 03:39:33 -0500 Received: by mail-wr1-f45.google.com with SMTP id bk16so29742177wrb.11 for <60793@debbugs.gnu.org>; Tue, 17 Jan 2023 00:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YQWIr+TnOsSE9hM2ex06hK/n7fhT0Fi66+aby1b5tbk=; b=P5mzqkpxeayA9xbN7nGYNv6ugxrUHlg+CrE8t+Hp5Dxi5uh2deZagDq9SHLH3QcQrW wt8GGdpnO5jvXka0P3UIguhMuhv0DygNnX6KyGh+n6UpAMFCpvMLYExyixvAVRj8Oa18 yS+Mv+ASo+yLj8TJAn8pW8jDXPfGoGr7SPbHuI5CXnSMRC8k/LvXcFRFXEb/wBPctneV tiLOAorg/AUyKbG4PX1xkAVO/Nlc8/yQztovY+xUMxoLNVpRXE/kcWxo93c0obFjY++/ 34obhmgG7DvuBXrFsW+Vi2NqdDINOlX6gjpX79KGhSmoNfAKAdwAzw2gPwvfi8uLknfl 8L1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YQWIr+TnOsSE9hM2ex06hK/n7fhT0Fi66+aby1b5tbk=; b=dT6/o0/253skUmkEsST8tOwSsz18FofU8ZPpRjJVXekTT3J1zHeg/cbbDEKDyexM74 Ic76BmbYWrpdb/whXu5sSHpYgUflouLdiNr77+4NBmE8+EMuWs1hG7+5Odd6s9kjbG78 E0ggW+WjXj+Wazop9ukkkzcwP3ZKrMiDRJyV/UctqWU1FaNWjFIQZRm9Uk5qVQoj3W+k 8KkatK/BDVMCXpLww6It23LMMTAMjixKeMZO2kS68+97eM5MW2KElVxz6DuUT3ervl5e nnDOSOfZUijPhvmzQ8LeEpCP2pbtvXqjh1M+9WtXpl6sMUC+CRxXJ5Okrp8fNxE0jxQI VqZg== X-Gm-Message-State: AFqh2kqsUykf09hvvuRcQ2hRv7Ak6CQfNVAarml1maADOi/2ed4OFchL bR47w+ottrmVd1pigdygNWSVhchBJgc= X-Google-Smtp-Source: AMrXdXvShoa2h43jOcyCngXKppKlP2d75wqmFthJbCmZzpfG7kuOoBes/5oetKFce2tmD44AjtSxPA== X-Received: by 2002:a5d:634a:0:b0:2bd:e0e8:6951 with SMTP id b10-20020a5d634a000000b002bde0e86951mr413482wrw.5.1673944762836; Tue, 17 Jan 2023 00:39:22 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id s2-20020adff802000000b00241bd7a7165sm28230594wrp.82.2023.01.17.00.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 00:39:22 -0800 (PST) From: Simon Tournier To: Sharlatan Hellseher Subject: Re: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. In-Reply-To: References: <20230113221658.8158-1-sharlatanus@gmail.com> <87zgais8z5.fsf@gmail.com> Date: Tue, 17 Jan 2023 09:03:53 +0100 Message-ID: <86a62hoady.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: 60793@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Mon, 16 Jan 2023 at 20:36, Sharlatan Hellseher w= rote: > Yes it's a long journey to bring Julia's Astronomical projects to > Guix. Cool! Thank you for this effort. > I've got a question on how to group Julia packages related just to > Astronomy. gnu/packages/astronomy.scm contains python bindings to cfitsio, > wcs and erfa would I follow the same pass and add Julia packages next to > them? Well, I think all Julia packages should go to gnu/packages/julia-xyz.scm with the prefix =E2=80=99julia-=E2=80=99 for the symbol and the package nam= e. If, or when, the Julia packages related to astronomy will be too many, then it will be possible to just move them to gnu/packages/julia-astronomy.scm. Last, when writing new Julia packages, please consider some implicit conventions in these Julia-related modules: + sort alphabetically, package name and inputs, + if one test does not pass, please disallow it using something like: =E2=80=99#~(modify-phases %standard-phases (add-after 'link-depot 'skip-failing-test=E2=80=99 (gexp and after link-depot), + try set the packages used by the tests under native-inputs. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 17:27:17 2023 Received: (at 60793) by debbugs.gnu.org; 29 Jan 2023 22:27:17 +0000 Received: from localhost ([127.0.0.1]:45521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMG8r-0004MM-8q for submit@debbugs.gnu.org; Sun, 29 Jan 2023 17:27:17 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:43884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMG8p-0004M8-Hk for 60793@debbugs.gnu.org; Sun, 29 Jan 2023 17:27:15 -0500 Received: by mail-qk1-f177.google.com with SMTP id r187so2344813qkf.10 for <60793@debbugs.gnu.org>; Sun, 29 Jan 2023 14:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=b/V1kiDDMKWfIEcU7Qkzk7pKGRTPyqaV2qjmF4itPgw=; b=GgbEQfhVyZMCkEF/m0lCiK1sszMAFvBo7afSQvZRqatK0TV3Bl15P4Dr1Y2yIx4HIG rH+FGvjLr/SkHlVHf0LZy3qGtzXB4NPdeAnIuBfRNmiPLCVpZ6LniSsa+RzYg6LT8Sj8 hWbxPLdnEW4h741QTEf4uOP66WF1PUo5Y4zbq5T3Bwur40ozx7cAH1HWce+ZvqJT90Bg sCV4P0c7HgUyvXZzC/qBLV8v0zQeY4O2LveZ/3ZO5LYMNl2Ws9mC+hyt7M4ghNFRS9ap HSywDvPNplwcvZgaBekiKGp8f1bvNzb+Yz644Xmh9unVFsgMyt/xCYnOud99XvMtYtfw 5kwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b/V1kiDDMKWfIEcU7Qkzk7pKGRTPyqaV2qjmF4itPgw=; b=cLILWOtUJxJH4sTeA8wNPzMvEQfXzfN63bqbo0yhcztFfLAjvaBbqe4ldmsCUovLqz pZUhziPssTn6tRicYNAM1SSGTyf9BSj2OyC1tQHxKna7koiSfn1i1NaOPG8gCX54mHKP c/IXjmzGwJUm8nkuOK2+L1AEH1BaXTEcKbz/yKsb1fVZCrPUpcb/YjbkaNCTI97C7DBx B39/abq9yaUpc0afnq1Tjfr8S9voNaihLlbV5JGPsy/jPtN7zHMix1i4JRNLN6PcHicd +m+/xQi3v4p6FBye0KELX5Emt/49u5FhkojtcE9n6dBbpsIgRBPIBpuqcqgr7bOeaWEX 4F3w== X-Gm-Message-State: AO0yUKVIFnijchcRvyoPeO+AaS/BUoI7Kn4COP7nT++A0aHs1lYXA1II zQ6BkqhnuZy8925RGQAprmB3TqFyWe2T4vuj8D8= X-Google-Smtp-Source: AK7set/y8bm2hqHyDO8i29yhiN9HxFE9AvekJuhFfOGf+8ooXFhhihMPnBXy4SHZLtqFYBsh6jiIzmYp5E/Y3B0wHQM= X-Received: by 2002:a05:620a:131b:b0:71c:3b4e:9a47 with SMTP id o27-20020a05620a131b00b0071c3b4e9a47mr215765qkj.416.1675031229966; Sun, 29 Jan 2023 14:27:09 -0800 (PST) MIME-Version: 1.0 References: <20230113221658.8158-1-sharlatanus@gmail.com> <87zgais8z5.fsf@gmail.com> <86a62hoady.fsf@gmail.com> In-Reply-To: <86a62hoady.fsf@gmail.com> From: Sharlatan Hellseher Date: Sun, 29 Jan 2023 22:26:59 +0000 Message-ID: Subject: Re: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. To: Simon Tournier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: 60793@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Simon, I've prepared the full series of patches which include julia-cfitsio-jll -> julia-cfitsio -> julia-fitsio. All of the them put in alphabetical order, passed lint and build on x86_64 hardware. On Tue, 17 Jan 2023 at 08:39, Simon Tournier wro= te: > > Hi, > > On Mon, 16 Jan 2023 at 20:36, Sharlatan Hellseher = wrote: > > > Yes it's a long journey to bring Julia's Astronomical projects to > > Guix. > > Cool! Thank you for this effort. > > > > I've got a question on how to group Julia packages related just to > > Astronomy. gnu/packages/astronomy.scm contains python bindings to cfits= io, > > wcs and erfa would I follow the same pass and add Julia packages next t= o > > them? > > Well, I think all Julia packages should go to gnu/packages/julia-xyz.scm > with the prefix =E2=80=99julia-=E2=80=99 for the symbol and the package n= ame. > > If, or when, the Julia packages related to astronomy will be too many, > then it will be possible to just move them to > gnu/packages/julia-astronomy.scm. > > Last, when writing new Julia packages, please consider some implicit > conventions in these Julia-related modules: > > + sort alphabetically, package name and inputs, > > + if one test does not pass, please disallow it using something like: > =E2=80=99#~(modify-phases %standard-phases (add-after 'link-depot > 'skip-failing-test=E2=80=99 (gexp and after link-depot), > > + try set the packages used by the tests under native-inputs. > > Cheers, > simon --=20 =E2=80=A6 =D0=BD=D0=B0=D1=88 =D1=80=D0=B0=D0=B7=D1=83=D0=BC - =D0=BF=D1=80= =D0=B5=D0=B2=D0=BE=D1=81=D1=85=D0=BE=D0=B4=D0=BD=D0=B0=D1=8F =D0=BE=D0=B1= =D1=8A=D1=8F=D1=81=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F = =D0=BC=D0=B0=D1=88=D0=B8=D0=BD=D0=B0 =D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=B0= =D1=8F =D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=D0=BD=D0=B0 =D0=BD=D0=B0=D0=B9=D1=82=D0=B8 =D1=81=D0=BC=D1=8B=D1=81=D0=BB =D0=BF=D0=BE= =D1=87=D1=82=D0=B8 =D0=B2 =D1=87=D0=B5=D0=BC =D1=83=D0=B3=D0=BE=D0=B4=D0=BD= =D0=BE, =D0=B8=D1=81=D1=82=D0=BE=D0=BB=D0=BA=D0=BE=D0=B2=D0=B0=D1=82=D1=8C = =D0=BB=D1=8E=D0=B1=D0=BE=D0=B9 =D1=84=D0=B5=D0=BD=D0=BE=D0=BC=D0=B5=D0=BD, = =D0=BD=D0=BE =D1=81=D0=BE=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=BD=D0=BE =D0=BD=D0=B5 = =D0=B2 =D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D0=B8 =D0=BF=D1=80= =D0=B8=D0=BD=D1=8F=D1=82=D1=8C =D0=BC=D1=8B=D1=81=D0=BB=D1=8C =D0=BE =D0=BD= =D0=B5=D0=BF=D1=80=D0=B5=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D1=83=D0=B5=D0=BC=D0= =BE=D1=81=D1=82=D0=B8. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 17:29:38 2023 Received: (at 60793) by debbugs.gnu.org; 29 Jan 2023 22:29:38 +0000 Received: from localhost ([127.0.0.1]:45527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGB7-0004Pq-RF for submit@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:38 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:55163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGB5-0004PR-6Q for 60793@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:35 -0500 Received: by mail-wm1-f48.google.com with SMTP id m15so6869879wms.4 for <60793@debbugs.gnu.org>; Sun, 29 Jan 2023 14:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Vp7cmvDwCi6+57Y8o80uALsYQYa8s8/i/rbKpo/XfZ0=; b=keadRzyfpLgJqdgy+LkHEXvJTVeplq5rFU5/XMBcTS7288tNU8EtzbY6wrYUAxhZNE kMyJReYNg6QzzTfgY/NEPa9rh6P3AwC7F0LPNu8jYmc43xqPd7e97BkDJRxpaGzq32/7 jsUEMxLxk+3Rit+tfHmCdYuYsQB2dXJFnbnkCJPU547tz9l2E4lAtBQTZWhtkPjsA2J3 vt5aACymemoAMbGQUkCEKEpfvumCOG+po/6IbCs/aRpdfJzS6Sxs5vcP+eJc267Jy83k 1PHgZdUKrIERUxEWM8/vz+vcV1RWO8GFDTp+y270vy7jAkkU7BrWaT9jLBueYsOvNSDH oxyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vp7cmvDwCi6+57Y8o80uALsYQYa8s8/i/rbKpo/XfZ0=; b=52aPfItqeaGAyh1r5yCtRP3gQFuyLlhaiFBrrVOtz8mmpMV1wNH13xA1ALGiCgDDN4 Llc8CFuaqwUG0esnZ+jXjgJUkDRmQ0JJOe5ycj/8FnPxVS4T8z1hSdr3bhJ5j76R1OTa +Cc0JjrQiklJgSKrMNTIz5EfysBLmWLcfzib0C8ozypZGeOdG4qhYTjdh+K7VOFCZ5Z9 tGKXBzh+FGTw8RTX9s3HA0vX7g+ynGCJafbl5yFSU7f8lHMixQNtWQ7aeXScpRvn/ayv VPLkzKtAyZxmbRqFvNOmLeqwQ/CVT/Idt7m4gu8jYNMsXK7O98kxfOl9LtUSPOv6GT6b +tVw== X-Gm-Message-State: AO0yUKUi8skwb8pQitmoCTDD5PUvepABnllDXxSTiXd4JIqtGX0DbSMK e3LbML3Bbw4cWc72LmeAdyQhrlKFK/U= X-Google-Smtp-Source: AK7set+PezKjrEOm7YDk24MkV9T93Uzac9QNCyDXLIePt7/E+Fi7lizGDDjFm0fJLaPEqlvHcpnOOw== X-Received: by 2002:a05:600c:3b07:b0:3dc:5a0b:d256 with SMTP id m7-20020a05600c3b0700b003dc5a0bd256mr988187wms.22.1675031369265; Sun, 29 Jan 2023 14:29:29 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id l41-20020a05600c08a900b003dc3d9fb09asm7571310wmp.47.2023.01.29.14.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 14:29:28 -0800 (PST) From: Sharlatan Hellseher To: 60793@debbugs.gnu.org Subject: [PATCH 1/3] gnu: Add julia-cfitsio-jll. Date: Sun, 29 Jan 2023 22:29:23 +0000 Message-Id: <20230129222925.11361-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable. --- gnu/packages/julia-jll.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 2b0f644736..7625ff512a 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Jean-Baptiste Volatier +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,7 @@ (define-module (gnu packages julia-jll) #: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,47 @@ (define-public julia-cairo-jll (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 + (("using LibCURL_jll") "") ; We use Guix's cfitsio + (("using Zlib_jll") "") ; Not require to upnpack not donwloaded archvie. + (("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") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 17:29:38 2023 Received: (at 60793) by debbugs.gnu.org; 29 Jan 2023 22:29:38 +0000 Received: from localhost ([127.0.0.1]:45529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGB8-0004Ps-6m for submit@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:38 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:39662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGB5-0004PS-Db for 60793@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:35 -0500 Received: by mail-wm1-f54.google.com with SMTP id l35-20020a05600c1d2300b003dc4634a466so2865938wms.4 for <60793@debbugs.gnu.org>; Sun, 29 Jan 2023 14:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1e5osN24WwVaLS/8YzcSwiysjIavlb2Ttebq7EfzFIQ=; b=pDcfqhO1KC8Bij5dfXOKQfmfhuDgdNknV6pHP98foxl1IpvyhcprsVxxvPLpKAJCSb wSvzjL7hfI3eKSQih/yzjca66tbq2hnM3uh9pMuO0AWtnoRaSKehbgmV88WdK52CniEi uhfHaPm5MUoyvuMqffVjY/KT3bR3GLt0yWNCmS2fzD3j/kgRjgc8DSx9Pz0iVTVPUILS VvusUx3nE2J49xFOAZ3pRwszeTtTofuADE3fe2EUA7UXnTnwtPdUmRFDGINAx1c7cONw TUBJbGo5k2uaG/+S9B7zD7GA+VS8FgUKVTe6HekThO4MVrOzGEI+jVYRVORT9shfBQ42 QZ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1e5osN24WwVaLS/8YzcSwiysjIavlb2Ttebq7EfzFIQ=; b=pCPA8LNhUU79neAGpGRufr1TubnO0SUS0ksNAyK0fwSEV12+a3xCnJXrp5uj5OPRd3 Gg0AvdcI72tzRQnF1Ev+wWlbUkXnYk3XDxHSIJisl6HuebepJ8UhNNmiLZptXyusqtVn ie8fUpfxbE6AwR2moFkgM8d8FjaGPDPQ9pU7B6KA+XWLWfNAjEeovXXqSikXM2SzXahR lqNOzJrPAYPnarJZt1OPvBBP/coj2BdhqR/KDFP15rVF/tTrBAR/3O3bz1QYMVzhm0pc x6EMnZx8zLBTg0z3AGJ9NJdygdMxBdMPuQd03K3VRuW+L5L+CCzBPhdjpH/QyN/QDuW+ nGgg== X-Gm-Message-State: AO0yUKWgE8Uj3XuvPcYfrgfi9yArSo2c43FcNnIPH/DxL9loF5jPkvpN zAA6UBqoGbbZrHlL+9ECMbBTv5RxNkc= X-Google-Smtp-Source: AK7set+QZ140ybGNkTYihmM5ftjgqJnpPUVH2MgwTRELITAmV/EePw9shIxLG4bWJSI7UcmB+eQK3Q== X-Received: by 2002:a05:600c:a39b:b0:3dc:4355:25f6 with SMTP id hn27-20020a05600ca39b00b003dc435525f6mr7391667wmb.26.1675031369836; Sun, 29 Jan 2023 14:29:29 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id l41-20020a05600c08a900b003dc3d9fb09asm7571310wmp.47.2023.01.29.14.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 14:29:29 -0800 (PST) From: Sharlatan Hellseher To: 60793@debbugs.gnu.org Subject: [PATCH 2/3] gnu: Add julia-cfitsio. Date: Sun, 29 Jan 2023 22:29:24 +0000 Message-Id: <20230129222925.11361-2-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230129222925.11361-1-sharlatanus@gmail.com> References: <20230129222925.11361-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/julia-xyz.scm (julia-cfitsio): New variable. --- gnu/packages/julia-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 414aba03f0..ff6862c4f6 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -746,6 +746,39 @@ (define-public julia-cenum (description "This package provides a C-compatible enum for Julia.") (license license:expat))) +(define-public julia-cfitsio + (package + (name "julia-cfitsio") + (version "1.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaAstro/CFITSIO.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05bxzzjcc021p3hi092h06r2q7qnvql0xz1alggi83i0pp1mxp6d")))) + (build-system julia-build-system) + (native-inputs (list julia-aqua)) + (propagated-inputs (list julia-cfitsio-jll)) + (home-page "https://github.com/JuliaAstro/CFITSIO.jl") + (synopsis "C-style interface to the libcfitsio library") + (description "This package provides Julia implementation of C-style interface to CFITSIO +functions with following features: +@itemize + +@item Function names closely mirror the C interface (e.g., @code{fits_open_file()}). + +@item Functions operate on @code{FITSFile}, a thin wrapper for fitsfile C struct +(@code{FITSFile} has concept of \"current HDU\", as in CFITSIO). + +@item Note that the wrapper functions do check the return status from CFITSIO +and throw an error with the appropriate message. + +@end itemize") + (license license:expat))) + (define-public julia-chainrules (package (name "julia-chainrules") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 17:29:46 2023 Received: (at 60793) by debbugs.gnu.org; 29 Jan 2023 22:29:46 +0000 Received: from localhost ([127.0.0.1]:45531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGBF-0004QC-Ij for submit@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:46 -0500 Received: from mail-wm1-f46.google.com ([209.85.128.46]:40721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMGB6-0004PT-1Y for 60793@debbugs.gnu.org; Sun, 29 Jan 2023 17:29:37 -0500 Received: by mail-wm1-f46.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso2035921wms.5 for <60793@debbugs.gnu.org>; Sun, 29 Jan 2023 14:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JRNg5MSUUp4B/6CojuGP/+XTQ8/WOKrdPY6wmsCqbpQ=; b=VFcTDMSN6wuWuaRL3YfhosCU6StzTV8YrS7VVmKtMXz+kDKx1l3Af8xILQ1cJCYIUF 2MxrogokOk8Edj/zD/4YhTWpEZiYJ7h68mSXvDOFhUpF9TWDWVpLwHKS93nr/KqwgItq kRiqHSVu/FnO57Qe15BjqYPJBGcWWdEMb9lskK3VNSHBeUwTfpvMS69Sq8zx2iqkwaJ3 tVnhG/uV2hGvQBOatxcCZgYrJiPkIF0FzEec7HhkghnTABgwt/QIi3PYTwwZICKXomgt nDL89P/BKznaGqLZ+PltUBonHiJ12cimR4atrVALUyvne02VOnlcnGGjfqleKT+Lh3dC deNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JRNg5MSUUp4B/6CojuGP/+XTQ8/WOKrdPY6wmsCqbpQ=; b=6OeAd2dAWOzSxGbFqv0L0sN5yle17H1ngVZzPagEaySKduEyv4JhwF1cRtxydrTeRy 1I4W1F1y+z9HhTcQMbrgsvNMhHAd1632nEMzRoC1Orw24E+CDapKZMgYiPhk/FBMwF7Y v9h5PGYB59ZHQPZhjB+/X5J9ELpwObxAkKA6Ynl7tFAaCjf2dBHnka73St1Lil1TmsxY PYnkjQlRzNTIZGm9UnRHgOk4N/in1bGeXmA2aRBcF+8hHab1BhFyUv0OWWytg7K2UgrV rReMxPdI1eUiKOQB6lRnPj/43Qf3eJfqr7ItTTLHw1RNUaQDfzDrWlG8ybY+Kp7gyUvb UTvQ== X-Gm-Message-State: AFqh2kqX2rRlxvZ9ysRzmmSZaKz2jWVq9VDMuaVYMhKLIo7i6l5TMJz5 6tm7/SEerp7GMtXDyvVfFfM+4wMZS4U= X-Google-Smtp-Source: AMrXdXsOemI16PkZzH1de7Kb2+83sjsa9Bu8HW7oI3hlTs7rUQZtM+g9PfGRUWo6lnNd9qfZF1zO8Q== X-Received: by 2002:a05:600c:1c8b:b0:3db:fe:f84e with SMTP id k11-20020a05600c1c8b00b003db00fef84emr46361241wms.1.1675031370459; Sun, 29 Jan 2023 14:29:30 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id l41-20020a05600c08a900b003dc3d9fb09asm7571310wmp.47.2023.01.29.14.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Jan 2023 14:29:30 -0800 (PST) From: Sharlatan Hellseher To: 60793@debbugs.gnu.org Subject: [PATCH 3/3] gnu: Add julia-fitsio. Date: Sun, 29 Jan 2023 22:29:25 +0000 Message-Id: <20230129222925.11361-3-sharlatanus@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230129222925.11361-1-sharlatanus@gmail.com> References: <20230129222925.11361-1-sharlatanus@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/julia-xyz.scm (julia-fitsio): New variable. --- gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index ff6862c4f6..5a2b6b8c22 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 jgart +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -2130,6 +2131,31 @@ (define-public julia-finitedifferences using finite difference.") (license license:expat))) +(define-public julia-fitsio + (package + (name "julia-fitsio") + (version "0.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaAstro/FITSIO.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10w7cdb2cvcwpkcfdz2fwl4ji5rfdv8w9msc9gfd8d34k58bk8c5")))) + (build-system julia-build-system) + (native-inputs + (list julia-aqua julia-orderedcollections)) + (propagated-inputs + (list julia-cfitsio julia-reexport julia-tables)) + (home-page "https://github.com/JuliaAstro/CFITSIO.jl") + (synopsis "Astronomical FITS file support for Julia") + (description "This package provides Julia implementation for reading and writing +@acronym{FITS, Flexible Image Transport System} files, based on the +@code{cfitsio} library.") + (license license:expat))) + (define-public julia-fixedpointnumbers (let ((commit "59ee94b93f2f1ee75544ef44187fc0e440cd8015") (revision "1")) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:12:15 2023 Received: (at 60793) by debbugs.gnu.org; 30 Jan 2023 11:12:15 +0000 Received: from localhost ([127.0.0.1]:46526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS59-00049h-Ez for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:15 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:44017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS58-00049O-01 for 60793@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:14 -0500 Received: by mail-wm1-f53.google.com with SMTP id d4-20020a05600c3ac400b003db1de2aef0so7876216wms.2 for <60793@debbugs.gnu.org>; Mon, 30 Jan 2023 03:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=v0u2CdTM9etJ/kYLyGMHxIbm2m56e9jMCVraw0PJOAw=; b=dkLn6Ui5/EhNzW+Q2hRkdr/SmtHqHPvCjtcsvtQKxFMcvvYd1+OATk5CNbYoGdyM0J dtH/VXDdXKnqzm1duZBC5KS1a1sSIhaoqC74wyS/A2xJUQtZYj31X1fQPXIJTupBgxQo 1FUCduwN56dNnTr6lBhZoWX2rvAhmXDDdHaAfK0vepnuwUYANasIrW3+HVLm7iaRyvow jvHLdlhx2kVO9/X5HaXlls7C2QRYcKSzZytXvsgoqZ+tpCPg0KGueDsWuuaxe1IlZR01 pLMxgi49UgcDRz0ZSc2Df0lNGlXkMdO7crzo225+CL5O0LjtT4sAcikytmRyHOdctgNE FZJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v0u2CdTM9etJ/kYLyGMHxIbm2m56e9jMCVraw0PJOAw=; b=l6LIS2Pz/Z9nM+I3o+MbjRf0sA3pn5VcJeAaL4wkaCJyHPgxd6NeJ5TqEzAJMdpdBX XJJVUoza25tKBl7ZbyM9iP/XD+KtzGPyK9molk6qh0x5WzGXhhGqTr0vA4YLkpXqTL1C C9946Y6sffEDx58VkpJ4qhFy60JG0cbA///hJ1PcqnffjyQ5CWx3vw+Dff4MDzUZ6Cit aVCdY4OsfMU5o0WYxlTiIEhIZFvrP5miUfiVCiRxoOFCWzKYLHLx9gEjxARhqFv7duBm PDH01K1xtJbZFWmSjF2+wBmC3VXZ3tvc+ojLI3uPn0NHZT4ZmbUt1QPi0YctVMCxopF/ 9nRg== X-Gm-Message-State: AO0yUKUTMVIVIm7XNAAW0DaT2fzS5zslAlk7dgM4aAEJLdNIioOV51Mr 57Hj/yueLesChZUj16CXyog= X-Google-Smtp-Source: AK7set8e2X7V7QV8WMZ/2btMT2RLWisNA7F3H+39kI6GMS3441OaJKeKT1N9KsjwQ8//aHe+LjpTAQ== X-Received: by 2002:a05:600c:6020:b0:3dc:54da:ba3e with SMTP id az32-20020a05600c602000b003dc54daba3emr1158821wmb.3.1675077128016; Mon, 30 Jan 2023 03:12:08 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o18-20020a05600c339200b003dc42d48defsm8444989wmp.6.2023.01.30.03.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 03:12:07 -0800 (PST) From: Simon Tournier To: Sharlatan Hellseher , 60793@debbugs.gnu.org, Efraim Flashner Subject: Re: [bug#60793] [PATCH 1/3] gnu: Add julia-cfitsio-jll. In-Reply-To: <20230129222925.11361-1-sharlatanus@gmail.com> References: <20230113221658.8158-1-sharlatanus@gmail.com> <20230129222925.11361-1-sharlatanus@gmail.com> Date: Mon, 30 Jan 2023 11:59:23 +0100 Message-ID: <875ycomgok.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On dim., 29 janv. 2023 at 22:29, Sharlatan Hellseher wrote: > + #:phases > + (modify-phases %standard-phases > + (add-after 'link-depot 'override-binary-path > + (lambda* (#:key inputs #:allow-other-keys) > + (map > + (lambda (wrapper) > + (substitute* wrapper > + (("using LibCURL_jll") "") ; We use Guix's cfitsio > + (("using Zlib_jll") "") ; Not require to upnpack not donwloaded archvie. --^ Typo Typo: s/upnpack/unpack > + (synopsis "cfitsio library wrappers") --8<---------------cut here---------------start------------->8--- gnu/packages/julia-jll.scm:188:14: julia-cfitsio-jll@4.0.0+0: synopsis should start with an upper-case letter or digit --8<---------------cut here---------------end--------------->8--- Maybe, (synopsis "CFITSIO library wrappers") because it seems the official name: . All capital. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:12:16 2023 Received: (at 60793) by debbugs.gnu.org; 30 Jan 2023 11:12:16 +0000 Received: from localhost ([127.0.0.1]:46528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS59-00049k-PR for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:16 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:46862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS58-00049Q-Iv for 60793@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:14 -0500 Received: by mail-wm1-f50.google.com with SMTP id m5-20020a05600c4f4500b003db03b2559eso7864887wmq.5 for <60793@debbugs.gnu.org>; Mon, 30 Jan 2023 03:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=3XkU94iEE8VqBbxe8WYvRQoqyq3B144MvYah+m0qIJg=; b=CuB7xDhh3NXZoLILzwJrMn+C8uKjbEfQg3iYwYLqZ3fQbeFuhQKf0LjXprPUbCmo28 Fs9/GJwOK1hU6FDwJRq7+RSwvSlIfgkmK4yqT6iwtFFTF0uiBLHB08Z1erlegdgJrToL qkMWrKXgcWuzyKKu96jpUCv+6UB1/db610FDBPr0gYKXM3zfeV24Wm+ZZ0idh66N5xMv GAKYtW+Kw/W/oq9AbY5jMrK7teFylfT3/iSwXWmPGqZn4j4YGBQkej8JtitS9XzzAxQi gG+y7WiRnVLU39CS8h+J639N1ZE/OmHBA0mOU1mTSxbyZVOpYsZrzXta8HLZ1E7q/sXW cFVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3XkU94iEE8VqBbxe8WYvRQoqyq3B144MvYah+m0qIJg=; b=2rgpggPay+NLuEp1xTa5FeEXUsSX+wRKUF3nUIvxmjy55Gh4Uzw3ENFazWEU2xncTw xlc484gJZPjdApMQnpnRVkdU0dmDWTzi+BEs5X9DlbLdE5ZANLdJqacObRQuLaD1QIOj dWP7E/eZSlJoZYEW6B2f6/sB0OM0O3WCDnXvcGCNvGHeYX4oSaZiNYJYW7CQMW6HdYPw Uau/O5DDzki8Z68RRJ+YwM2n6t5VCrvHJImRCvoPxmYN0J7Qs7t/CqiL5+uc8AgiFoEL lx+SNAfqjSYuFbEcgAyiRGJkBVr9wgYUbDa4QuYkkftoIo9urSQvQoe3BYjB6zeGhR2G QLAA== X-Gm-Message-State: AO0yUKWpxMYrRVUGlK94O+hRzJmUiKzeF/Es2ppCB/dyRIOTJQWpC3Ha CIhC0iWeDRTua5x1I/009rV0wLJvXVo= X-Google-Smtp-Source: AK7set9qicypgANxrtLX3qEMnf45VGRS1E7tAbjH8Cj2TavoFEkWqpBPLSq/fqFHp2FHBw0lzxlkBw== X-Received: by 2002:a05:600c:1c9e:b0:3dc:5c1f:d49d with SMTP id k30-20020a05600c1c9e00b003dc5c1fd49dmr404132wms.3.1675077128911; Mon, 30 Jan 2023 03:12:08 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id x26-20020a1c7c1a000000b003db01178b62sm15778266wmc.40.2023.01.30.03.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 03:12:08 -0800 (PST) From: Simon Tournier To: Sharlatan Hellseher , Efraim Flashner Subject: Re: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. In-Reply-To: References: <20230113221658.8158-1-sharlatanus@gmail.com> <87zgais8z5.fsf@gmail.com> <86a62hoady.fsf@gmail.com> Date: Mon, 30 Jan 2023 12:11:53 +0100 Message-ID: <871qncmg3q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: 60793@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On dim., 29 janv. 2023 at 22:26, Sharlatan Hellseher wrote: > I've prepared the full series of patches which include > julia-cfitsio-jll -> julia-cfitsio -> julia-fitsio. > All of the them put in alphabetical order, passed lint and build on > x86_64 hardware. LGTM. I have tweaked in v2. Efraim? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:12:27 2023 Received: (at 60793) by debbugs.gnu.org; 30 Jan 2023 11:12:27 +0000 Received: from localhost ([127.0.0.1]:46533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5L-0004AQ-4F for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:27 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:42642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5I-00049z-En for 60793@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:25 -0500 Received: by mail-wr1-f51.google.com with SMTP id d14so10671620wrr.9 for <60793@debbugs.gnu.org>; Mon, 30 Jan 2023 03:12:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=pmBx/lkrl3Hk3aKlD+qDsVsrYbChHYCNEH+FFEnWH+o=; b=PrpIHRweaK1jJ90F26sR1aHAVjfkc1HMO1gx3x/gUzVH9zRGj6adwd2Lx5V5pmOQRN z3cKi27Jix9WXi+wuHYSh+GP840OmXTfOTiuQSkO+OAVDj5IZWGlRL4nAoT7GFBXerG/ s8K3uUbaXP0EYlaefX+6OwrQX9nS9RUE49yZvOoUgG/P7EoaXECOJpXzO3Xtt+P1do8/ o813DbsxwZvtfWPAZ8Gf1XOBBFj0iQTZ1E8Zl/8KUvpNZmTLfu/Yw+WInkvZKwdyIZnh dquCy8+CMt1F+qgpxAglaWHnV4dwS7F9TnAQZOzJPzJDksgx3/jx6f4UcgKxL4u4gdEw n25w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pmBx/lkrl3Hk3aKlD+qDsVsrYbChHYCNEH+FFEnWH+o=; b=3UUNOBp3jhWkDn1xAViA3q2W2egePFXr1IPh2xsq4ol+W8OhJH7l1NHiYA8YdOwFah EqBu68PqCktyflUBhVgA3dpuMAzD+TnwvT07muRxL8ktl7WdE3KslkFH3IA2gmFB4YKD EjCq/eYbt1JLNjCpD9W79eZyK+9Kp0u8FA/QXG3VXTP6HzeBhgjniXs7vD59ZXU1qnwm ctEuZMWnR4yc9Q6nmpjcFptLntsC338VDsXZi2leD/Tg6fjTUIMxIMwtOJz+b5fGHlk7 TlkCVN2EupPAJATPIUdUEUOdlNJ6g2+9cI8JXmvn2RpC4wjrNRqCVS4UoP3gA+A0Zt9O efQg== X-Gm-Message-State: AFqh2komBP12QOmgKI5/VH0Tm5bDK8lGXub9oewHE1uh3HRfSfrmcK5U NGWCoFhiXXzBrMypPPBTaAnF/ENoJ5k= X-Google-Smtp-Source: AMrXdXtMOnhsVuEIYJyx8HPjY7/EiFapyliMWPAw9IpcUrV00WJPF5NamFuq1NEkK6kBS2zi35+ejw== X-Received: by 2002:a5d:5d0c:0:b0:2be:5402:18e7 with SMTP id ch12-20020a5d5d0c000000b002be540218e7mr9127477wrb.5.1675077138620; Mon, 30 Jan 2023 03:12:18 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y17-20020adffa51000000b002238ea5750csm14008853wrr.72.2023.01.30.03.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 03:12:18 -0800 (PST) From: Simon Tournier To: 60793@debbugs.gnu.org Subject: [PATCH v2 1/3] gnu: Add julia-cfitsio-jll. Date: Mon, 30 Jan 2023 12:12:09 +0100 Message-Id: <20230130111211.372932-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher , efraim@flashner.co.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sharlatan Hellseher * gnu/packages/julia-jll.scm (julia-cfitsio-jll): New variable. --- gnu/packages/julia-jll.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm index 2b0f644736..80e4508196 100644 --- a/gnu/packages/julia-jll.scm +++ b/gnu/packages/julia-jll.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Jean-Baptiste Volatier +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,7 @@ (define-module (gnu packages julia-jll) #: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,47 @@ (define-public julia-cairo-jll (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 + (("using LibCURL_jll") "") ; We use Guix's cfitsio + (("using Zlib_jll") "") ; Not require to unpack not donwloaded archvie. + (("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") base-commit: 595b53b74e3ef57a1c0c96108ba86d38a170a241 -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:12:27 2023 Received: (at 60793) by debbugs.gnu.org; 30 Jan 2023 11:12:28 +0000 Received: from localhost ([127.0.0.1]:46535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5L-0004AS-Iz for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:27 -0500 Received: from mail-wr1-f42.google.com ([209.85.221.42]:41532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5J-0004A0-1R for 60793@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:25 -0500 Received: by mail-wr1-f42.google.com with SMTP id m7so10681047wru.8 for <60793@debbugs.gnu.org>; Mon, 30 Jan 2023 03:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TGXOG4uiOwOh8Wa1wT8EFfRxd+1Qzum+tGOLnMLQ5oA=; b=fw0p63Q56ySBYoN4HnErP9IdU9++UwPFbKfR7kY4EXxKxaIHVNKxJMUSMneDSxNI5q nAA8FGesSWem3R8vCIB3t8TIlQOKrukr7uYixkM5NKV9O1dSg7lvt1qlnBKj7UH0vVZw 0oePjGRpjeUw7ueDvkit2JtWDpMxK5mm3E7rc0MdB+xlKW7xfflxIVDxlXPNFXeHFo0Y lDcI5+WDGj5dt9ZZ2iPZsDwwJHQoQp1BIq7XPqoITTeH3o/QXiz5h7DYEI1H3ohcbbPK hVEZLKwxrVnu+OOLTRpqczL9s5sFjzovQ9wDa0y9VJ5i5aba5utxeQyy0vpgXE+9tarZ Zitg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TGXOG4uiOwOh8Wa1wT8EFfRxd+1Qzum+tGOLnMLQ5oA=; b=zNgZQzrrJRNT/qfJ/+WCSohSiyHuSlwxMQgfZNjNYKAXziMQFT7rzJVPEJY1Co80XA D3c9hz+dS3vATTIBc3H6kC6zJKpn0VfRoCT1gonMFCeEYI2sQUWcU2zOIZccpUjzcpx9 9m0vZICxZDMuejZw1rUkOn9yM5LWC8hNVWzh0tN3PINOhd8Mib4eVFdtlcJCEbGHooED LUPzEdvT9BkKFzIl43LjHvCR0+Z11zfeGZtgbsF4cWpXoLoSJOV7ZiWs2WZwVkBfsqVa oYZlZQhXpq7hGtlhBNvwTb6IVw+dsJF4TIZNRF8WrurCmbwlTSS02WQWNQQDkbnvFXIe dyqA== X-Gm-Message-State: AFqh2kpLACq8x7U/O/Y2t6ZeRRV/qRBX1iuac2MLVCKAlgAN63gdsM34 kZkXIRPh7wjAEqozjAUDZbFVatqBqYc= X-Google-Smtp-Source: AMrXdXv/yGkxeL+bXY+d26DcU90IiBYvx9JtuYIx1UU1uBJofnpMrAgZE6M5WqMVMYKm9mrJcw9EBQ== X-Received: by 2002:adf:a446:0:b0:2be:55ed:c065 with SMTP id e6-20020adfa446000000b002be55edc065mr5646003wra.7.1675077139490; Mon, 30 Jan 2023 03:12:19 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y17-20020adffa51000000b002238ea5750csm14008853wrr.72.2023.01.30.03.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 03:12:18 -0800 (PST) From: Simon Tournier To: 60793@debbugs.gnu.org Subject: [PATCH v2 2/3] gnu: Add julia-cfitsio. Date: Mon, 30 Jan 2023 12:12:10 +0100 Message-Id: <20230130111211.372932-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130111211.372932-1-zimon.toutoune@gmail.com> References: <20230130111211.372932-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher , efraim@flashner.co.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sharlatan Hellseher * gnu/packages/julia-xyz.scm (julia-cfitsio): New variable. --- gnu/packages/julia-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 414aba03f0..8c7f0f70cf 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -746,6 +746,36 @@ (define-public julia-cenum (description "This package provides a C-compatible enum for Julia.") (license license:expat))) +(define-public julia-cfitsio + (package + (name "julia-cfitsio") + (version "1.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaAstro/CFITSIO.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05bxzzjcc021p3hi092h06r2q7qnvql0xz1alggi83i0pp1mxp6d")))) + (build-system julia-build-system) + (native-inputs (list julia-aqua)) + (propagated-inputs (list julia-cfitsio-jll)) + (home-page "https://github.com/JuliaAstro/CFITSIO.jl") + (synopsis "C-style interface to the libcfitsio library") + (description "This package provides Julia implementation of C-style +interface to CFITSIO functions with following features: +@itemize +@item Function names closely mirror the C interface (e.g., +@code{fits_open_file()}). +@item Functions operate on @code{FITSFile}, a thin wrapper for fitsfile C +struct (@code{FITSFile} has concept of \"current HDU\", as in CFITSIO). +@item Wrapper functions do check the return status from CFITSIO and throw an +error with the appropriate message. +@end itemize") + (license license:expat))) + (define-public julia-chainrules (package (name "julia-chainrules") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:12:35 2023 Received: (at 60793) by debbugs.gnu.org; 30 Jan 2023 11:12:35 +0000 Received: from localhost ([127.0.0.1]:46537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5T-0004Al-1A for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:35 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:54156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS5J-0004A2-NH for 60793@debbugs.gnu.org; Mon, 30 Jan 2023 06:12:26 -0500 Received: by mail-wm1-f48.google.com with SMTP id l8so7713207wms.3 for <60793@debbugs.gnu.org>; Mon, 30 Jan 2023 03:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=V3LoBpfFCJdqZa73wTJ1E2ty7WMklbJz3If0s6uL4KU=; b=Prwdef7n5GHjDt0Oe6A88migQQsmBIl5CGxAZuOd4muNUwqcyCf3bPfmMrnBOt5mYb T+gf3x5FKjgrY7tl4+CeoSDNObDt3QmLvkZRZ0MVKx2Z/MCTLsqsEQrPgphNN04RL/4n zpbv3L4E8zN4MspW+oUmH00s4q1liozp9muK/7wAg38fMa6v5fYNQNKjCUkm7oa2XoKh K+D2gRin9xr8tYRZQS6PS1D6IFNIiIv/R8B97RUrnk0Dec/XA19DG4KBC4+sD9o7aLV3 0LZaZ7Z/vky7Rwl7oDiaK/S1BIb5/sDThGoAWWN7yRLYHH66kvLWHfYOes7vphKgNCmB zQow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V3LoBpfFCJdqZa73wTJ1E2ty7WMklbJz3If0s6uL4KU=; b=7PdQalX0BamjqlpupWTU0qXMdqS6wslFiWOUT3ouFuVT9AzZIAcTZvZW6QgamLxb4I PO1eiGlLri1TgbcLdjBidPi8B+kVHgh68E9jcMrBXzMBAgGg0gFa1bv4Joodis7EIgHf w+QRYZdguHWmzkhlPrFkb1ERPMqkImCTvxBk1vRWG0lj7HEwXf15vBdNSf6YA5BqzsIu CFRSk8/To25UGvBubViwbCSqkJOCf9AuVDvxdUjz05RyN8hXSzOv6g6aSLBUqCBEoFcM 6xMgRa2Nh9uEn88N2l05NZZG2/aywQZzWCeQUq827eeccgSjlIKeiIL3uKrQ099bntC5 VRBA== X-Gm-Message-State: AO0yUKXwuTQzI5ar4FWUzWK6JBT3tiMjbFTRhhhZ+l+vreg2JYjA2XKY xR7CPxC/FeunMVhIEyT97SNbptBvYU4= X-Google-Smtp-Source: AK7set/8SB3icp+W0/D/HSaiVa1V9KYGLBKCI3g1f7caCNCLcWphp6/f5HHMLVSHTbokqn2RLOQi6Q== X-Received: by 2002:a05:600c:1c02:b0:3dc:3b1a:5d2d with SMTP id j2-20020a05600c1c0200b003dc3b1a5d2dmr2889146wms.0.1675077140119; Mon, 30 Jan 2023 03:12:20 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y17-20020adffa51000000b002238ea5750csm14008853wrr.72.2023.01.30.03.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 03:12:19 -0800 (PST) From: Simon Tournier To: 60793@debbugs.gnu.org Subject: [PATCH v2 3/3] gnu: Add julia-fitsio. Date: Mon, 30 Jan 2023 12:12:11 +0100 Message-Id: <20230130111211.372932-3-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230130111211.372932-1-zimon.toutoune@gmail.com> References: <20230130111211.372932-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60793 Cc: Sharlatan Hellseher , efraim@flashner.co.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sharlatan Hellseher * gnu/packages/julia-xyz.scm (julia-fitsio): New variable. --- gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 8c7f0f70cf..ffc600f7f8 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 jgart +;;; Copyright © 2023 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -2127,6 +2128,31 @@ (define-public julia-finitedifferences using finite difference.") (license license:expat))) +(define-public julia-fitsio + (package + (name "julia-fitsio") + (version "0.17.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaAstro/FITSIO.jl") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10w7cdb2cvcwpkcfdz2fwl4ji5rfdv8w9msc9gfd8d34k58bk8c5")))) + (build-system julia-build-system) + (native-inputs + (list julia-aqua julia-orderedcollections)) + (propagated-inputs + (list julia-cfitsio julia-reexport julia-tables)) + (home-page "https://github.com/JuliaAstro/CFITSIO.jl") + (synopsis "Astronomical FITS file support for Julia") + (description "This package provides Julia implementation for reading and +writing @acronym{FITS, Flexible Image Transport System} files, based on the +@code{cfitsio} library.") + (license license:expat))) + (define-public julia-fixedpointnumbers (let ((commit "59ee94b93f2f1ee75544ef44187fc0e440cd8015") (revision "1")) -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 08 05:13:31 2023 Received: (at 60793-done) by debbugs.gnu.org; 8 Feb 2023 10:13:31 +0000 Received: from localhost ([127.0.0.1]:54866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPhSF-0003os-5L for submit@debbugs.gnu.org; Wed, 08 Feb 2023 05:13:31 -0500 Received: from mail-ej1-f53.google.com ([209.85.218.53]:42804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPhSD-0003of-R8 for 60793-done@debbugs.gnu.org; Wed, 08 Feb 2023 05:13:30 -0500 Received: by mail-ej1-f53.google.com with SMTP id sa10so19541590ejc.9 for <60793-done@debbugs.gnu.org>; Wed, 08 Feb 2023 02:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=Kwi1yBh13fHmQ+ysch/tMdHnmm+KJETjpB92Wpz+pxc=; b=fuuAGaokkc+TfALX9n5Fo9qvY/a/intLwzmk7mJs0cxdL9kCtGLh1IzsUromgIHbnX Cfg+FroBYhfQ2RpbvI1u4Ke2QBAyvM/e4q7TWC5o3nKXv9Bn12lBKH1IkxUexazOxued 3WoI9+Zryxh1KsZ020rcK0P1Ut6YZ7f9Y1vW0yHlkztcbNO1RA2js8Vuu6lB3i+rsFDf rmHUtdcyFuifk9mqgidDxrirjXRU8/2a3JvqL18TiUVXd3COGWQ15Fbdi0+hTSQO41zu +HjgaZgMhjGaCrMdMXBBJ2oKC5Apuvrxmpf7t7A+cw0JxQX6aAFBxm+tVBoMU0adJLUy iykw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kwi1yBh13fHmQ+ysch/tMdHnmm+KJETjpB92Wpz+pxc=; b=zWrYZs8jRFtEk+7eD68Fj01+IR3bgpPit7+ujvtBSI5p6hnhg6xnDtjjnHAEUsHzxT hNuMYh9stRub+/AzcTJ3qWfp7IEVL6Ajaiu1q5w9mFB3pvA6gl6YPGJ3LPq1BxW/OKW5 tP69yFSAzjRFbiomxcF4PH0PDz9GrAgpRbmX5/zqIJHSkOrJkbHyc0AcuvNeNB1uiPUG LrDFyhEjSNHGtkXee5n+UxvF3W827uA0wLPebqzk31s49ui5F+SepWBnd3cdKbpSXboP Ur7mGOI3zIMCWQwHyPnkxgc3djIy58e25NVQ0tl520k5/BrqmtA6uN4HkCUw3Vk7edit lYqg== X-Gm-Message-State: AO0yUKVcI7AepisUuKhhI/0z559E3615Lqtt+KMkGm0pK8baVchR+plV poKsjo3H4vPYaIQeHWgqxoQ= X-Google-Smtp-Source: AK7set8/EfYguP9iVMS6i7UMQIHKh+YWJkz6XEbPShXeQHhHqB7zDgGEM561rBTnMBQH82phfnE+mQ== X-Received: by 2002:a17:907:2175:b0:88b:109e:fbd3 with SMTP id rl21-20020a170907217500b0088b109efbd3mr7120313ejb.24.1675851203783; Wed, 08 Feb 2023 02:13:23 -0800 (PST) Received: from localhost ([2a02:ed3:911:6200:b62e:99ff:fef0:7bc0]) by smtp.gmail.com with ESMTPSA id u10-20020a170906408a00b008aabf7faa17sm1219318ejj.67.2023.02.08.02.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 02:13:22 -0800 (PST) Date: Wed, 8 Feb 2023 12:13:17 +0200 From: Efraim Flashner To: Simon Tournier Subject: Re: [PATCH v2 1/3] gnu: Add julia-cfitsio-jll. Message-ID: Mail-Followup-To: Efraim Flashner , Simon Tournier , 60793-done@debbugs.gnu.org, Sharlatan Hellseher References: <20230130111211.372932-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="p1T1sOISQ6DzOMPX" Content-Disposition: inline In-Reply-To: <20230130111211.372932-1-zimon.toutoune@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 60793-done Cc: 60793-done@debbugs.gnu.org, Sharlatan Hellseher X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --p1T1sOISQ6DzOMPX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks! Patches pushed. I look forward to more julia astro packages :) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --p1T1sOISQ6DzOMPX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmPjdb0ACgkQQarn3Mo9 g1FDXBAAttpOXLMwbPgNIzmjl4PJz5E8iapmBEnXW81Ex5MY8PeVj14Zc/rGMSrl 8tkHs6ROyvAi9nH1Nca8SwKdlMPrZ8Cq5MTSRbRVyom9ezT41cZPp1r9+UYRpoQX /KU71Gb0UWf5OgNDnoYBsA3g6xZBXkLQQ7XD+XYvxNbNkuu8mJdhcrEPmvR0WS3e 3moSAtxM82fwlxf2xWIAPCWPr4YtYcb/26gCXPnrSRbbPNX/3B/24J2/7/NSbAS6 tWeM03aj0vOIDdhaIXIp75QHsZzZEvjzZO/+mIsnyEYfD2dm4qZ5GFgBGEQzLp8L xcpE4SKVzEh7mkm5ChU/sxjVNX1MmJa5KULBU9LnGddgBrTmsHF5I3e8QGS2gQiT 26KYw36yMJPU0HFUsC7Hc31rguZXgY6sNw+DNOm4pw5JuAvZMfZVlhvb/X4P6gD/ P6G65hQOusO5j8WyhHHYyYpwohFS4QpKe/+y+oRvIu+nrGx1DaP2zjQtVQGTUPQ9 46fwVYDHWcMb/2PVADybjozrkWvsIm6Fz/YHdzLd+NmRlMARjEAtZX7cBeHbhr+p c2Ojx0OzhlUsxxQ4l6vHIYoBCgfaazlC71k8YSoz82HK8Dgh2zKd96Zq7ObrIPoH PtWmBO33bvUlIl8wpujoYhO4QA4Q841UdptRD4ZO/I+TBJB8hio= =x9TU -----END PGP SIGNATURE----- --p1T1sOISQ6DzOMPX-- From unknown Sat Jun 21 12:34:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Mar 2023 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator