From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EADAKuhkNGek5gAAqHPOHw:P1 (envelope-from ) for ; Wed, 13 Nov 2024 08:35:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EADAKuhkNGek5gAAqHPOHw (envelope-from ) for ; Wed, 13 Nov 2024 09:35:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=yahoo.com header.s=s2048 header.b=hQ2dKHqV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731486951; a=rsa-sha256; cv=none; b=AwAf02+w9Umipb8g8hzj3/tFFJwjqGCN2zspsZIMzvy+XrAP3y6iHO9VqLAxgLJ0GSy1uD ZHwA/DCNiFeYObl3ff61PQgbt9hZeo2Q9DQbHiXcsZcejI/bdYsSsE9bt9F4mxLXJ+xr9L M2uro5Dq+wkwNJ0qqjbK+4A4lVW8CaInUfjnSRoUFbpH68EES8w707bmT76fv7YCKAZN/r w5NApoqpc0brpnr5dE+aS0ZAV+sC6rmHOGIYALmAp7dCwIDXIE027LdqeLahtAXOEiwm9k nBiJKHackQuyvc1W9JNVD9zRp72whFiswXS5M7fEecBbVUwx1xgy9cf27isOCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=yahoo.com header.s=s2048 header.b=hQ2dKHqV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731486951; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=af8fWWs9VQspol3uQVbUW37LPiweuf+BCL1bZZ/7u/s=; b=f72izodex8sOp6DqC/DZlTY371U7789evEZxMOjoHfRLiJl79IjGsbttO2Unt43n6qP0nt wHweD0vyrdhuy+A6MrZa8kA2Pm09UdW6oMOY6iPcWhSB00gRdLdKX7Z+WmeITZ2qCEeB9T sXhv9kMhKd75FnRWzWC4YTaitpTWh+gkX7J2nC5TWfDrhCE9miIfQ9ZYJp7onvlZmKO5N9 bG3WVFH98/kfx5kyTS+fWuHH839wuWb5Wb8CQ27QnU4v3YxgQ12pgjTuPcadvrCouWyrZD SffzEkvlFJI+C6g0xn6EBS/35nlQC6ys0V7OLRsKgKoccVr2WYkPmubfEQX/zw== 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 8EB0B717AD for ; Wed, 13 Nov 2024 09:35:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB8qH-0004hZ-Pm; Wed, 13 Nov 2024 03:35:13 -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 1tB8qF-0004fN-G5 for help-guix@gnu.org; Wed, 13 Nov 2024 03:35:11 -0500 Received: from sonic308-19.consmr.mail.sg3.yahoo.com ([106.10.241.209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tB8qD-0005m9-GH for help-guix@gnu.org; Wed, 13 Nov 2024 03:35:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731486903; bh=qz9TZl/4zvAe1YzR7llP4uCa04fL7Of4TWDLcdxbOLo=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From:Subject:Reply-To; b=hQ2dKHqVsD2MiTmRr6cUnQVKRQEGLU0bKHg0CmgoCR07xjlTZYQyUJRFUuVTqK+tnI19O/WxkyloBppZKox2XLCFEwm7XrQs15UM++DHbUV4iYFx0VA9oGhK14b7Hm/1Bidk7ZKQ2j2/IeKXkJIJJvmuNQSRdMPd20Ij4t/tfu1eDrj0sOip6NU1hWH06Xv+Roo3M2Md9FjHKAQOG1bd4JTKhac4hR++SOOq1dKEvtb4c8h4iXSJuo87gTiTsNy7h4jJyRta+BIKPEmAmDyNQMqLb5p/+dIXqS72LVELulldiUm1feUg9JLBwOXwWaV0DCeB7jKv/Xux/gP0OBJApw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1731486903; bh=61bIZTuFTjotxh4IxXofPRKGavhBo9KGUUN7CUKFRYD=; h=X-Sonic-MF:Subject:From:To:Date:From:Subject; b=N2g7NpvPf0/1uW/q/43px+nfJGcfCFudJSUn/wyDSZAaqWVtt6i5B1bOZ3A/dE8GxM3gDDas8GeFMDzxSLjkdx+DKxKYjEN2cXJhTzAmlJmap+DBi8yXqFg1KMJajY1RoLnAuky/MiG+1kexh0kC54e7NQJjXXsu1HwU7v0XEBY/NdqYkKM5J+sQvahCO6EV119P8oh52BiVpBq8NtlAAs+8w3qGOk+BX1VKNIa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9_qnfn 1iZS6hRcC16hooTO5kcjnyUldhZjQ3p3O3wUfbhbtiF9Iff2zhVOmC_Mk_rSz0fbXXKlHK9gNdx7 l2X_r8826veeXroD7ryjIofj.IC6sYRPklI79vDggomZT.J8AidM4BEaxoE8lS3W4tTigtR6okzf FO57vEjID_Eg4_mtsGFDc_UxlY8H81ALKUBjgrb3wF7ZrZKiDQcPhawOwihSgbb3DnAmXLFsmPDD vTCCi.AL3bg1Gv4OKpYoHsF90myC.6Xs3KrkjMLaEMDOzVecVPSQnlTl_w9ZiMwMA0baWCwboTlX bvui2Oh._tG0BVlQ- X-Sonic-MF: X-Sonic-ID: b847615f-1673-412a-9014-0447b67af860 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.sg3.yahoo.com with HTTP; Wed, 13 Nov 2024 08:35:03 +0000 Received: by hermes--production-sg3-5b7954b588-kwfpq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2ebb64340d998ff6ab7e844c91ac4338; Wed, 13 Nov 2024 08:34:59 +0000 (UTC) Message-ID: Subject: Re: Add external data to a package To: Julian Flake , Aristide Doussot Cc: help-guix@gnu.org Date: Wed, 13 Nov 2024 16:34:58 +0800 In-Reply-To: <87ldxos10f.fsf@flake.de> References: <96ca3ac8-5954-4ecf-8be2-345dab200bb5@obspm.fr> <87ldxos10f.fsf@flake.de> Autocrypt: addr=poomklao@yahoo.com; prefer-encrypt=mutual; keydata=mQGNBFvXseIBDADKVSSkDkJ5P7HTUFlYK7lNzKI89NSpgs5x408MITsF8Ep7KKdLNtGCe 9cnreDAGd299Fi09hOGBtOLtD0u8nj7Lckvfv0r7yEQf4eRyfMFJ4ziS62m6OPIIMP3jsRuC98oM4 pPsaOhLxX4rvwIgdexjw7IVnCfU+RULICJuxYuBgI8xaDO1zYzpthLCzhS3fls1RqVB5gEE6O4zxp 15UTIglVUkx0goZ9urAl47Nw1Glms5SJ2ZXPUsHbTFaPytkcL2NzXDLVtTv3LMyIohVj3VmMj2ewl l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g7ag+nHYM/iY/NFUU/AxPdW/w b9BR/UN+RNdbq7xx1w== User-Agent: Evolution 3.52.3-0ubuntu1 MIME-Version: 1.0 X-Mailer: WebService/1.1.22876 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=106.10.241.209; envelope-from=poomklao@yahoo.com; helo=sonic308-19.consmr.mail.sg3.yahoo.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Parnikkapore From: Parnikkapore via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.34 X-Spam-Score: -1.34 X-Migadu-Queue-Id: 8EB0B717AD X-Migadu-Scanner: mx10.migadu.com X-TUID: Ji4Qzb7uin1G A lot of objects can be ungexp-ed into a gexp to substitute in its store pa= th. ``s are one of them: ```scheme (define WSRT_Measures (origin (method url-fetch) (uri "[...not sure I can disclose...]/WSRT_Measures.ztar") (sha256 (base32 "1d9qlcmkpsnw8wm7sidp17iwd2d771nsgjwwp568886g5f239a8k")))) (define-public casacore (package (name "casacore") (version "3.5.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/casacore/casacore.git") (recursive? #t) (commit "v3.5.0")))) (file-name (git-file-name name version)) (sha256 (base32 "0zw70slc3681mnadg169avjg7d3jwn1x49xn0022207blcig8g2l")= )) (inputs (list fftwf fftw openblas boost gcc-toolchain git gsl lapack gfortran-= toolchain readline flex bison cfitsio wcslib python python-numpy)) (build-system cmake-build-system) (arguments (list #:configure-flags #~(list "-DHELLO_WHO=3DGuix" "-DBUILD_DYSC= O=3DON") #:build-type "Release" #:tests? #f ;; some test are failing due to lack of data tha= t are downloable via ftp; for now testing is disabled #:parallel-build? #t ;; TODO : check if it makes a differenc= e in building time #:phases #~(modify-phases %standard-phases (add-after 'install 'install-data (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (data #$WSRT_Measures) ; <- =3D=3D=3D=3D=3D = See here! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (share-dir (string-append out "/share/casacor= e/data/"))) (mkdir-p share-dir) (invoke "tar" "-xzf" data "-C" share-dir) #t)))))) (home-page "http://casacore.github.io/casacore/") (synopsis "") (description "A suite of C++ libraries for radio astronomy data processi= ng.") (license license:gpl2+))) ``` Yeah, this is not well-explained in the documentation right now. (Also took the opportunity to reformat the code from the email. There seems= to be quite a few mismatching parentheses, which would've led to some very= confusing error messages... my advice is turning on the Lisp / Scheme mode= of your editor and turning on the "rainbow parentheses" option.)