From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WA5oMU6m12M5XgEAbAwnHQ (envelope-from ) for ; Mon, 30 Jan 2023 12:13:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gIRvMU6m12Py7gAA9RJhRA (envelope-from ) for ; Mon, 30 Jan 2023 12:13:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8468D15CA8 for ; Mon, 30 Jan 2023 12:13:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMS5y-0004Hv-Bg; Mon, 30 Jan 2023 06:13:06 -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 1pMS5v-0004GN-9S for guix-patches@gnu.org; Mon, 30 Jan 2023 06:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMS5v-000692-0w for guix-patches@gnu.org; Mon, 30 Jan 2023 06:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMS5u-0004Bt-S0 for guix-patches@gnu.org; Mon, 30 Jan 2023 06:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60793] [PATCH v2 2/3] gnu: Add julia-cfitsio. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Jan 2023 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60793 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60793@debbugs.gnu.org Cc: Sharlatan Hellseher , efraim@flashner.co.il Received: via spool by 60793-submit@debbugs.gnu.org id=B60793.167507714816034 (code B ref 60793); Mon, 30 Jan 2023 11:13:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675077198; a=rsa-sha256; cv=none; b=hXRUygltTljNnOdsXF0gYAsjbORvUVp928jY5jJk6XFacrEazUNaytrRvYD+8V1Jti0EF1 ymXj5RdpoLRZCLNSRFMpV/iGFGGtUwg7iE1RhZm2M+OGIzSnJol9rFaDPzBAH3LQK7yOLF hh2XbvR5Cho1wsiBJMM0A7Z/OaKovJ6p4UNgO6myMWTB9PnGyNfC/tQVgxM/5Yv1teZw9E g4azEAUzJbTKxi3JAfnWnI1sKh7Zlz+bg2UJwdZxVeksDadWNcR+vLWK4gwqIIfLBf4R/Z WdR+bYeKkMyvr21E7rvZo8Z731noR49+JPGyzMOhX7hitu13420b6H9R+akQnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fw0p63Q5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675077198; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TGXOG4uiOwOh8Wa1wT8EFfRxd+1Qzum+tGOLnMLQ5oA=; b=Ry0k9oBWE9GSQjZzxjt9k+H+LSSU4ZenMCdh3lYuWDvYpThuPAuSwIpFnDikGTndLHB6B1 dxnDN6E4md8fxWwLpunSeglQbd1cQ7786dvxYxe7zUb2Td2v9Pc7lr3Sd2tyi+XMmksvhO DCFjYKZNKxcbzb5yjbFAoYzuNCMQ1XWHYFY+arUDx1PT415tMNu+ZIJZf7vqWVXt5HPJpt 7vmowAyW17QbRHJzgtCg110NeZipi31EC2CJozwBuMByWHi5qPviHV3HCLdwTh+rXKFRUP BR7Li9JfFrX37SyT0kGCYkNBP1sudRusAnkXs8aDjtUFvqIkcbC+iuhQv7aJsQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fw0p63Q5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.92 X-Spam-Score: 7.92 X-Migadu-Queue-Id: 8468D15CA8 X-TUID: U1jEkTD13SzX 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