From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QGtkCUP7XWGiCwEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 21:38:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SFcQBUP7XWEvGwAAB5/wlQ (envelope-from ) for ; Wed, 06 Oct 2021 19:38:43 +0000 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 8E53811CF1 for ; Wed, 6 Oct 2021 21:38:42 +0200 (CEST) Received: from localhost ([::1]:40364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYCkT-0000F1-5V for larch@yhetil.org; Wed, 06 Oct 2021 15:38:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYCjs-0008Pe-AX for guix-patches@gnu.org; Wed, 06 Oct 2021 15:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYCjq-0004zk-LD for guix-patches@gnu.org; Wed, 06 Oct 2021 15:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYCjq-0003Rf-ET for guix-patches@gnu.org; Wed, 06 Oct 2021 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH v2 02/23] guix: Add importer for hex.pm. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 42180@debbugs.gnu.org Received: via spool by 42180-submit@debbugs.gnu.org id=B42180.163354904913199 (code B ref 42180); Wed, 06 Oct 2021 19:38:02 +0000 Received: (at 42180) by debbugs.gnu.org; 6 Oct 2021 19:37:29 +0000 Received: from localhost ([127.0.0.1]:45520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYCjC-0003Qi-5w for submit@debbugs.gnu.org; Wed, 06 Oct 2021 15:37:29 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:50282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYCj7-0003QU-PY for 42180@debbugs.gnu.org; Wed, 06 Oct 2021 15:37:21 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id 2jdF2600W0mfAB406jdGSw; Wed, 06 Oct 2021 21:37:16 +0200 Message-ID: <5fb6bbfa0acc2a1206425f6d516ccdf5f9536c05.camel@telenet.be> From: Maxime Devos Date: Wed, 06 Oct 2021 21:37:05 +0200 In-Reply-To: <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-N5pjbEn3uX8xBQgBMySm" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1633549036; bh=L3BsyCp43cMhZtiz7B/LgVUnxHWCYAYfAxJbQdkQKRU=; h=Subject:From:To:Date:In-Reply-To:References; b=AN3wR3OhvAXvtD9i8oZvCPeuKH+PoS3s4Q9En9WAIHMQl6DwfS5e4zcriEkC9iKv5 5MhzJoaOcLoTb6JuWsifenxhp80ijAbi8Wh+IYnjT5D81aE776DtNjP9QzrQhnPTtg 3FO7irBDgc0pFo2W5yKINhb6jJaSrxqUOyVs4/RRp7RutOK+x/ungLlQedd4nF8AGk 1Zt7rs5evmyHgOyqKBgPRpt4FmUCKAfwsiDIy7ISgTqWapYNty3H7OkqV1lSYv9G3x xqg3gWc54HMFmVra7cqZdep8iA8ByTRZDR+WJkUw8RWXG84qwNuKBComlS9EZMnmPI J1jvfrE7p8qIg== 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633549122; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=L3BsyCp43cMhZtiz7B/LgVUnxHWCYAYfAxJbQdkQKRU=; b=ruqzc6YCXhcxgQqzjD+2+EaOSc4VLGAYMI54cb5+EjWydQzJrXOYzyr1GC3ctaQUO5M90+ xRfcFtQjyCAoG+24KrKrWqt24lTfaNDh3qW8yLqeyVPa8YI4fPKxnFOERfa06GPNEPxmLZ ofum7tnu56u/SaI9bUOabe/kaWehS12xVFemCQdzsJPc+6Svy3fINTxslBcrlIsUZ7AJ9Y ZTNu/bgQbotHEPFCvR9+bA/iYcxH/F527pF8ybJmMoq1SY1N+ttIO2PZiAosrCnyx10sxz DTRg3UNGyqABKSrYRxJOGse0HPxzSjgGWYFFU+E8HtSfjkdAxpSJfaE7rUZVvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633549122; a=rsa-sha256; cv=none; b=bjRlfYCibgqLm0R1zUluX9VDk6ct3zkvNiS6spOAbrX/TZUnLhRR7YNevwhlw526X5LW3T +WhmFDdHI0C0+A1yYhsSbbZaXbQCqUAcA09VI6Y6e+XVf5zvXCve2aBt95usAMp91q7tmP IrJ5SQpmkxUVro3LirlNiSMldMh4zYTaLTZjCZdHRzvs23LWMJAccJkBSqDVpLGOkAKu+w H+myqonQPDRt1P3eh4cDoewcjorhGRqhx5RspCCA/xDUvJGVGSfS/1C1MEJpKTJtw0G6KX 1Hi2DhoKB8KhQjVZQwrikDOzy5K2eMspHslb6XUkN7DPoOSfESbq3HJx1MvUbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=AN3wR3Oh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=AN3wR3Oh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8E53811CF1 X-Spam-Score: -3.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: pPAxLdvm4qn3 --=-N5pjbEn3uX8xBQgBMySm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op wo 06-10-2021 om 17:20 [+0200]: > [...] > +;;; > +;;; An method that fetches a package from the hex.pm repository= , > +;;; unwrapping the actual content from the download tarball. > +;;; > + > +(define %hexpm-repo-url > + (make-parameter "https://repo.hex.pm")) > +(define hexpm-url > + (string-append (%hexpm-repo-url) "/tarballs/")) Where did you find this URL? I took a look at https://hex.pm to download the source code of an Erlang package, but I'm not finding any download link= s for source code, for, say, . Only diffs and =E2=80=98previews=E2=80=99. Greetings, Maxime. --=-N5pjbEn3uX8xBQgBMySm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYV364RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tcSAP0Y+WE2e1qlq8mPprjcYrEYOA1r N3Q8TPHOgRZDq5KBKAD8D0UAIJmy0nKHuITdSJSp6AlayueCbpxSuebCTa3i1ww= =/XmN -----END PGP SIGNATURE----- --=-N5pjbEn3uX8xBQgBMySm--