From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aEyAG110UWL8wwAAgWs5BA (envelope-from ) for ; Sat, 09 Apr 2022 13:56:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0CgmGF10UWLzUQEAauVa8A (envelope-from ) for ; Sat, 09 Apr 2022 13:56:13 +0200 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 152BF178C6 for ; Sat, 9 Apr 2022 13:56:13 +0200 (CEST) Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nd9hM-0005Sn-Aa for larch@yhetil.org; Sat, 09 Apr 2022 07:56:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd9hB-0005Sb-UU for guix-patches@gnu.org; Sat, 09 Apr 2022 07:56:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nd9hB-00032p-Ln for guix-patches@gnu.org; Sat, 09 Apr 2022 07:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nd9hB-0004Pu-Kq for guix-patches@gnu.org; Sat, 09 Apr 2022 07:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Apr 2022 11:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel , 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.164950534816958 (code B ref 54796); Sat, 09 Apr 2022 11:56:01 +0000 Received: (at 54796) by debbugs.gnu.org; 9 Apr 2022 11:55:48 +0000 Received: from localhost ([127.0.0.1]:36875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9gv-0004PP-BM for submit@debbugs.gnu.org; Sat, 09 Apr 2022 07:55:48 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:34226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nd9gq-0004PD-Oh for 54796@debbugs.gnu.org; Sat, 09 Apr 2022 07:55:44 -0400 Received: from [192.168.109.254] ([188.189.133.86]) by andre.telenet-ops.be with bizsmtp id Gbvf2700J1s0Pjw01bvfwE; Sat, 09 Apr 2022 13:55:39 +0200 Message-ID: From: Maxime Devos Date: Sat, 09 Apr 2022 13:55:39 +0200 In-Reply-To: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2GxKc0FgKEPql6YYYsYq" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649505340; bh=wI9usZDKbKh/yWELYsVU5abTkN9AIKhPYMFawESUZbQ=; h=Subject:From:To:Date:In-Reply-To:References; b=X+BLMieBOSrupow3Y5s9JakFz4ZyZebE0PUCLspHIf5MZjn3SvzJzqlTN376ChMEY 9K7yfGdfTrpJ1+v2YjZP75nwAc0BhMWXxGSlzSVvIXxwdWlRBRkKNjL8ZeXePTfRMa ZtJol3b/TJ0iENBDcBTrNgvdoiziBkkSBOT9rv58QPXThMl6o7g2SNhw8sd05tds1y VFg4oSxv4K127ZX94uQ+iIcNCM5FWKlh+qOwHago3qOjNZSSpJElQJWlI3bhMInHsu BZ91ZsKBAySV2vIpxHUPFvOGpmErH5TaiZvuQmSRqVLSQFskKdLOj5UxPjYDDyfwrL TWNzBgo+9icDA== 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649505373; 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=wI9usZDKbKh/yWELYsVU5abTkN9AIKhPYMFawESUZbQ=; b=uAAqIpIy0HfltPvQPIPDWUlzwdfJ0bblUhULXx+Q1F+oN0VvLQffvgvU3WvcXeWae36qwi +H+bGesiZKnZfqA7F2nl7w/r9tPiXUa1+3BtscXt/6ZaW0dD4n8W/Uuu9t9t+A8H7sfj28 5y/ZT4y6gxALJ9RxYJh/1b4cs+AgY/p8vy6/uh0SrK6QNPnrxT5/AzUsSyLbzRHnX1UzOi DapGOsoYak1kwRtzBfvqBbxtVSSqkg0/YJp0Zsfb2MZaAcZtmIxYe9VGma+YOgFkSmLfGS nqcL1hEq71BQUwVHQ79XoqL5v8bk42rFWSHvxmH2IkHNWskUOc6zlXPH1KuGGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649505373; a=rsa-sha256; cv=none; b=RDs/wp2FfEID1PZMdcGkrSit2JHDeE2bU/0UI8uCHZweWM5klLd9KwMio5xgVhd6ycERkk xvMFNp596pafGjCRvUoQ0HMTjs2IvIu5C5FWJa2fXY0C06OHiwQldeDatWqTf1s9zKOAF/ gtuSQHWsLkeaE1plDTkt7hinQo+JIjdEUcF2dOQw4i7yv/d+bfy5W7/R++/ZJHZPD1em8Y ZaPJ56JVhnwa8fvmxmLyEj6x3axe7ZEfW3FWshw/zw0a4gS4f4W/5QHG8sldoZ49vo8yoN HvXyD+pMcS6UPhzV3edvpIOnfxPWxLCzHuaw2QzjGvuwNS+7ZJivieN4Ji1/4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=X+BLMieB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Spam-Score: 2.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=X+BLMieB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Queue-Id: 152BF178C6 X-Spam-Score: 2.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: I5YZtogtveNK --=-2GxKc0FgKEPql6YYYsYq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > +(define (maybe-inputs package-inputs input-type) > +=C2=A0 "Given a list of PACKAGE-INPUTS, tries to generate the 'inputs' f= ield of a > +package definition.=C2=A0 INPUT-TYPE, a symbol, is used to populate the = name of > +the input field." > +=C2=A0 (match package-inputs > +=C2=A0=C2=A0=C2=A0 (() > +=C2=A0=C2=A0=C2=A0=C2=A0 '()) > +=C2=A0=C2=A0=C2=A0 ((package-inputs ...) > +=C2=A0=C2=A0=C2=A0=C2=A0 `((,input-type (list ,@package-inputs)))))) This procedure 'maybe-inputs', or at least a similar procedure, already seems to exist in (guix import utils). Greetings, MAxime. --=-2GxKc0FgKEPql6YYYsYq 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+4iGRcl7gUCYlF0OxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uQ4AP9eHEdcb5ooHnqf5VfhdsoLR/RZ JeHPapVztU+3qj6hyAD8DqEI+uXQEJJ94HBCExybdB65cIX1vaRmY/SFz0/B2wM= =rKHw -----END PGP SIGNATURE----- --=-2GxKc0FgKEPql6YYYsYq--