From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +JNuCoTz1mNtPAAAbAwnHQ (envelope-from ) for ; Sun, 29 Jan 2023 23:30:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8KBzCoTz1mPZdwEA9RJhRA (envelope-from ) for ; Sun, 29 Jan 2023 23:30:28 +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 CDCE31F08A for ; Sun, 29 Jan 2023 23:30:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMGBZ-0004fr-Rs; Sun, 29 Jan 2023 17:30: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 1pMGBX-0004fH-6h for guix-patches@gnu.org; Sun, 29 Jan 2023 17:30: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 1pMGBW-0006eX-Rq for guix-patches@gnu.org; Sun, 29 Jan 2023 17:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMGBW-0004RG-KM for guix-patches@gnu.org; Sun, 29 Jan 2023 17:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60793] [PATCH 2/3] gnu: Add julia-cfitsio. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jan 2023 22:30: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 Received: via spool by 60793-submit@debbugs.gnu.org id=B60793.167503137816989 (code B ref 60793); Sun, 29 Jan 2023 22:30:02 +0000 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 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-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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675031427; 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=1e5osN24WwVaLS/8YzcSwiysjIavlb2Ttebq7EfzFIQ=; b=S/xSZCQ0dRSZpSWzW+0O1WBTwAnF1Xorn3sCjN1K+TVyg+fbg2MbDKF0masa/aiR2/C6wC YLnsh7IwN2gaiuiv64+cIn1fap2BJiaq0VJXxejYISCbUVbAq0/toR4jqWpbCi5ysZVPHw eLjPpmYZ9Aqefdz3aJ39czaGSkTtivmlRTXUjlCPcKuaNwbSlLzmRU3IX6DTIiHliWm4Oe SufYkCcrhXYdXiMkSdXSMQ35npGL90mZjy5zvRhRzJ3UMoc2uFJ5ELv07hRV7eZvIM3fE/ IsUWEXlHBICMr2idxgRsYBHEvMNXtk2myE+u3OSE3ttVfQwlQ7InDyROBL0TCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pDcfqhO1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675031427; a=rsa-sha256; cv=none; b=C9tDJuc467dX8vfL2q1xL1aM3hcbtT+eCjjo/lF5mgBTwIzDdM7I5S3f9C+0Qdb8nT/Y0Z PXk9MFmHLq7Jc50LxRcbaAHXjJbghsn5YoyyDB6xn0wulp2w5NtGmYQXlIM4hcaXlEMAXu Qbh0NxounOBunHQmcebLZfwj+yMAjXmM5qotkaQMm9I3RzKLv4SmmcrTMf9u8WU6FLMiBA g2yLbtC8l5rfkeK3CvFO/mhBB8em+8gw6Hx9Zym1emZP9IzlGCEOfzyTYHzoW4wXn6XlkX GpJRyfxhJr5jhlhn2iPVzVP5lgHErhGm6Fr10mj3I6EB66SZ28CCglLFqxcs3g== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pDcfqhO1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: CDCE31F08A X-TUID: GkfudAGiKQn1 * 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