From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 yHW1GzG+UmKfdQAAgWs5BA (envelope-from ) for ; Sun, 10 Apr 2022 13:23:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cM0cGTG+UmI1dgEA9RJhRA (envelope-from ) for ; Sun, 10 Apr 2022 13:23:29 +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 1C77CFA9D for ; Sun, 10 Apr 2022 13:23:29 +0200 (CEST) Received: from localhost ([::1]:34988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndVfD-0008B8-KR for larch@yhetil.org; Sun, 10 Apr 2022 07:23:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndVeo-0008Ak-DJ for guix-patches@gnu.org; Sun, 10 Apr 2022 07:23:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndVeo-0006ws-58 for guix-patches@gnu.org; Sun, 10 Apr 2022 07:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndVeo-0005TE-1u for guix-patches@gnu.org; Sun, 10 Apr 2022 07:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54796] [PATCH v3 01/22] import: Add hex.pm importer. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Apr 2022 11:23:02 +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: Maxime Devos , 54796@debbugs.gnu.org Received: via spool by 54796-submit@debbugs.gnu.org id=B54796.164958974520976 (code B ref 54796); Sun, 10 Apr 2022 11:23:02 +0000 Received: (at 54796) by debbugs.gnu.org; 10 Apr 2022 11:22:25 +0000 Received: from localhost ([127.0.0.1]:39527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndVe1-0005S1-6E for submit@debbugs.gnu.org; Sun, 10 Apr 2022 07:22:25 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:34517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndVdz-0005Rl-Cy for 54796@debbugs.gnu.org; Sun, 10 Apr 2022 07:22:12 -0400 Received: from hermia.goebel-consult.de ([87.176.137.15]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MderZ-1oCqKL31lp-00ZgwX; Sun, 10 Apr 2022 13:22:04 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 8EA4F66479; Sun, 10 Apr 2022 13:22:07 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------SjuXjJFoZKWwGLQn4bHxnKd0" Message-ID: <1887b943-01b9-8126-d474-6e7fd12397a5@crazy-compilers.com> Date: Sun, 10 Apr 2022 13:22:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US References: <8a73d6c31892010f068775a5c6fa18ec8224b62f.1649436566.git.h.goebel@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: X-Provags-ID: V03:K1:TdZq508TpGuyCqqCjPQV/rnK7EpB6BGhM9s0jNCjqnt7xUCLwNm ObKbUhgkTNPNm7mJiUSW7lVVJYTP2tLTbUaEZQsBy5dIZG/m3MyjSlbfppDBF0GhYuDNV9I tb1qXlIZ0omCKKLrAVwOyGUkB8vC5H3JZ6rT7aaoMaChBTZzINtRAoeLyJNbnExlT9ir4CP 6aVilvH1rtSAx5QojL/sQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:gwR9ch/4E/A=:jiutgVtMiz0zONj7kMjfw0 U4B/JhE+pMdmPlzjfq2BuavYM60Vqp8gqaMEvW9TzU4ZTnjz34D0yYfLpQjfexzWadhY3bwHg ye9faQyb7CibREjo4ZGGiUBPjGUKxRijmGpfWKGrwISD4ivSzunjkqsEDoS1qAfeMJAVkA3tQ BxuPnaEz3m04mrHTpfeB+/RjhXgXG8RSVgSy9Dw7C5TUjkHMeDPe8WlFy0PTArlhwfQ5BvD+t 5jhV6KjieiSkVXpgQxASygu9rKeg/cgPUBysF9SKst7I4dE0/lRbIgSYtoIY76+DOx9MEoXmw Y8FT3s3oC4idtHtjlQ7ca6cm7vepqOsAbDCwIBtk2KZxAztu/lluAxU6tV8UPIBRuFn3RiAd7 r/hMWFHWXbCdDOHEoJom3YQo+hdUiOWWhFWGCa8nePgZ1Fj18IHJxJInrrgwDoJr78m7/zepB tL17rwp+eMdJlk5ZRFobO7Ag2smyiuuI0qXEtdVNvEf2kYpDu/FtdzXO8uRpYFbOhX+W0P8KI 3XsIltKPiFoB9N2AwP4SG3DtCDAZW2YhVSfNTGFwATkvv6qKaxk6YAhv5+orvarevnQRbyE7A 2cTuoi9qam/cr6Duj23sTs3HbL1RNORvH7SJJyQbCPs6UjXlfDkLQCYJj4L7qkDxiY75lUH/G EQAIGa01yB7WmIsILweeD4AfwQ1lMH2UgNm9WTtOkrsoW6x8fy1vjddMXbWIj2f9NWsiIG7qr 2lb2hW01clRoJ7Bl 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=1649589809; 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; bh=cS/eOWkntLQbyz/o//k0ENKcq7eJplmnoM6TzLhypwU=; b=Y14dLYbwAxsD1GOEkVPga6XNM2BEYFp1IOIzT+msK/p6xj9IeAcp6IbHhpsBwzLRdX/XkU nI+B/imi+WwnV1hTd3LS5BcEr5fQE9xiDJUHOgyu/XadLs1C63OqW4ricfYweXSnGqP9Ij OPjlR7W+uft/WzTb0Er1QnjlnecajTQm7v203fhk+v5aRWdR4FJrjxo4ZItEUr3CAzHYAM pYo66D6nuz85IMLK0/OGhDg8OzHNc0LAnOhzs+VDL2ELOEHJkvXPvYR/4k0pDjuHjv1Wit 9k7jBbuEXJnnQXA29saXmL7v4oT4QzlG9gsK6sBzj++p0db0kpFXFK2JnCl9tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649589809; a=rsa-sha256; cv=none; b=eo1KmYhlWanmEfwkyUqVCArylo4Lf2WAkHv7x1E4HkBXFzk1Og09183ZSHXdoyxnXPuM9V KMjSRkCbu8n055xErXFWNIHt4+bSuDasyz1U5qBADbxRKpDiwZMVcWBHlZzEzUrRFor8dX fZGbpmCb1Zlr686CdwT6XWz8cMuS7t1aDB0Vez45YHRxom3q/U/6bqq+uGwih3txWytjL7 MRg5KfW1HKuGbwk2Ope6wO9xfiuUBz9tUSWzQZ6hfYlHphsaFqp+6kCOc+kw+riX+ysV4z eTsD/vNF1TfHUyozZe7ylfKxmpJHgb59FUySlmccdP7IsTVJ2Gc0fYdTiBdBaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 1C77CFA9D X-Spam-Score: -3.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: kKemkJUcRlfn This is a multi-part message in MIME format. --------------SjuXjJFoZKWwGLQn4bHxnKd0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 09.04.22 um 13:59 schrieb Maxime Devos: > WOuld 'alist->package' be useful here? Thanks for pointing me to that. Unfortunately, since records are used here (not alists) and since „alist->package“ expects the licenses to be an alist, too, the code using „alist->package“ would be quite ugly. Your tip brought me to „package->code“. Sadly I dif not get this to work: I failed converting          ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs) into the unquoted form. -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------SjuXjJFoZKWwGLQn4bHxnKd0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 09.04.22 um 13:59 schrieb Maxime Devos:
WOuld 'alist->package' be useful here?

Thanks for pointing me to that. Unfortunately, since records are used here (not alists) and since „alist->package“ expects the licenses to be an alist, too, the code using „alist->package“ would be quite ugly.

Your tip brought me to „package->code“. Sadly I dif not get this to work: I failed converting

         ,@(maybe-inputs (dependencies->package-names dependencies) 'inputs)

into the unquoted form.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------SjuXjJFoZKWwGLQn4bHxnKd0--