From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2BOrHXKZxWMfbgEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 19:37:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +BHoHHKZxWMMhgAAG6o9tA (envelope-from ) for ; Mon, 16 Jan 2023 19:37:38 +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 414D23338C for ; Mon, 16 Jan 2023 19:37:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHUM0-0005nt-92; Mon, 16 Jan 2023 13:37:08 -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 1pHULw-0005nK-Fj for guix-patches@gnu.org; Mon, 16 Jan 2023 13:37:06 -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 1pHULu-0000vP-KN for guix-patches@gnu.org; Mon, 16 Jan 2023 13:37:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHULu-00064N-Gu for guix-patches@gnu.org; Mon, 16 Jan 2023 13:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60793] [PATCH] gnu: Add julia-cfitsio-jll. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 18:37: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: Sharlatan Hellseher , 60793@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 60793-submit@debbugs.gnu.org id=B60793.167389421323290 (code B ref 60793); Mon, 16 Jan 2023 18:37:02 +0000 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 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-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=1673894258; a=rsa-sha256; cv=none; b=Zyrwjhh9BQrQQJrhSxCn0fNuh8+yIJmkFnk4GwBmigbUvS5wNZbAfmQBRxEuBx5Nd7ZOH5 QHKQxjC44gFzBW84PXLyisn/IHlwK992fqLvctj6vi7s3MankYvU2ZAwhujF/fgHEhdRC3 spuUvIwGzD6y6JOZERV3PpHqE3jIYlro6/nTo04MKRMgNLGjXaXHUCUQuoEaPzpFawJcPb sIhDdAOqPmQ/Y+B4ClujAQMBY8K4mXOpGwQrwo7NIS8yqaYp/Sn3WEozMoQRdPoVdYB4V8 QbpjOY8foUYwv0XEPy0PWW6mKzpCOUYZ3gk54GUO0iMN7Tk+/zT808akTt2zRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UCCI7P17; 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=1673894258; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=JaTJNtfpTS/nYF7ibdF2FETC1QvmfxE/LQyMngPmqIY=; b=AwgCEnrpfnjuDNb3H8PsFUBKv3PY9ZutDmd6lx0RPXBgsnHBmapf7qMuyQbSFO0YSC7loq SaVE9BBemu/ZFOroLrwZrwQJW28onmXpGT5iA+CJiYs0fzs3WNw4Me8dkEf2xkIpqfWVQ5 +OMQwOwxO33UuKEDM64YxMXVOkyKV1uAPUfjUBRnc7Gi+492QDka95PUnDB4c5RegkrwZS xVDZDtOGwK1+s8VBZmPN/6us8nbSUwUh3QQ0qjnk9E0Nydj+xL2h3Ic4Q8+5ZD02wCRLWG ILErlfcynVfkeekQ6PrsRT6HmeOJLhdYx/Il9uKW9yykA8lUs2tbt/YVQiei1Q== X-Migadu-Spam-Score: -0.53 X-Spam-Score: -0.53 X-Migadu-Queue-Id: 414D23338C X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=UCCI7P17; 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-TUID: mX0ebUCBD0pH 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