From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mPN9KKdAB2QvIQEASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 14:48:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ULpKKKdAB2QhJgEAauVa8A (envelope-from ) for ; Tue, 07 Mar 2023 14:48:23 +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 77EE5EFF9 for ; Tue, 7 Mar 2023 14:48:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Rsx1Zy0K; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678196903; 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: 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; bh=lVBjcJX/HkMmJzoKjgH2rN5EGJ5GcVM42AEIE7Zx8eA=; b=h2D7crbsYAUdurBm230zaqOkxj3kxk2nWjmC5SD5Da64FUErCiuCDkMkskoFv8Pm36oJW9 rDUAjexA9qUxBaNr1DOsAbNdmROkfGCE1DUP4VGsL2gEKgYyIYEyHa3mYqGnWebtS4a5Jr LjDPBM1TRaDnd1qLYqgSZUmWFp4AlyYDiPV/ZMGdrJCkaSU90uCo9L7vguSRt2+Mgww4/j zccP2uMSYvIF6mOICRSJB3qJlvcZIw4UAeFgUIOKL1gHCzXDEaHLUr8VBMKmUexVIerbPD DverZxmrlW7nyKriC3RcO1fe7SRhcoslVbr1awFIUuF4d+LKUS7bApifVpzEjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678196903; a=rsa-sha256; cv=none; b=h4K3sMdT2ARLCAB5qDrn8qsyoOTJwFH7faDmvzWV8saEQlnJ2kaWcxwW0L7Zx9++QvDrdO ge+g/S2tHj042ppwAw06LZuynKPqet3uuEyAk6GOVPZD7g8/LY5WjsOwjcRPxCtuMxcQMT XJOrYy0wxO8joQh/lX6bs8YWec9OMYLv6B1xx1jZpl5Eu7cZ2o/CNN0hgZjVGRLgejw2nd 5LSrwVModeJ+asbeu9i8ZMXvd6O/PIPPFeyeiVRjuuwmusJENJj7aO3uOepUnALYCNsCrv ZgKkzTpUCGjMaxiNVLrtwAnLGGfzTMudHKtcTEVJCaS6vWcS+PFqf3ra7bWVVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Rsx1Zy0K; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZXfb-0001EB-1N; Tue, 07 Mar 2023 08:47:59 -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 1pZXfX-0001Ch-Es for guix-devel@gnu.org; Tue, 07 Mar 2023 08:47:55 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZXfV-00070Z-I1; Tue, 07 Mar 2023 08:47:55 -0500 Received: by mail-wr1-x431.google.com with SMTP id g3so12176500wri.6; Tue, 07 Mar 2023 05:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678196871; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lVBjcJX/HkMmJzoKjgH2rN5EGJ5GcVM42AEIE7Zx8eA=; b=Rsx1Zy0Kpr0AUGrcLV1X+zwLfB2kQRTj8xKgGOONOzfRXPdYfGJUs2H0PpBt0NjUIV slcFqG1XHzocFXLiYRzfsnKwca2w4zd6/R8pvoDI3GuGAX7Rcv4n5risse7PcsctVqOu UVoHmqGQQaCge7e9W1/BHZpqC/za2GRl4kUXJrQPjE7Nl0LiSF9LsmLkFv6g2UZG28pH GTL5IlcsIDG/3UCG90c0QoLcEgk60CxIxI2tcHClR/hyQSe25bqMyHGVMXfh40I1KaEt FYOGwkmgfTngtoAih6vq2E5D0mOJZh02J9tikFAu7MXMqZKhdtguUDl+puvGPRlIiS4m xZKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678196871; h=content-transfer-encoding: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=lVBjcJX/HkMmJzoKjgH2rN5EGJ5GcVM42AEIE7Zx8eA=; b=P2jMyHCN/n2lGi9myOzTxYLl9vKwBm7SSQr8RBEEZiX3YOfSpkJiA+tKDuOfBmLgfb ddbPDvEyoLkMGenkZxTOoFNjCAubZDVNOdboQyB16SmQzJooQp2FYNQDBpSFOpkEjyog /YgPAJMLtLub8ZbGHqDe9kWtU1MwdArsV0Bp7zUM5+YcVCS9LfkoqfyKVMOEPk6rOqVJ f5JuvP/Gd5FJfwJVG6tNwHFEASS1DdmtT4aO9ku0IAKYxAJaZYKYtIFochzktFKDiSMX 8IHmh4zPIEI+C2ibYwFS0+1o1Z5tUE4GUn9DeCqd/3tHTQL6aqw0cggL/YqptMCgXCh9 yAdw== X-Gm-Message-State: AO0yUKWBjiNDUz02MpTRpzaiExA+Mav6sUqisUrLSYx5MF7hVHlYFitc /j4OfkZUHFi+0VPsEIk1JT4= X-Google-Smtp-Source: AK7set+ajewmwT1JMWkQZBzgRBZa42aWVybLitrOuamFPPiCbXyTvPmCZRobCDWhIyh40dClHdf+XQ== X-Received: by 2002:adf:fe07:0:b0:2c9:d574:3c55 with SMTP id n7-20020adffe07000000b002c9d5743c55mr8567270wrr.5.1678196871410; Tue, 07 Mar 2023 05:47:51 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x9-20020a5d60c9000000b002c70d97af78sm12406842wrt.85.2023.03.07.05.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 05:47:51 -0800 (PST) From: Simon Tournier To: Nicolas Graves , Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Jean-Baptiste Volatier , =?utf-8?Q?Nicol=C3=B2?= Balzarotti Subject: Re: Follow-up on julia import script In-Reply-To: <87edq2dsy7.fsf@ngraves.fr> References: <87a61358ej.fsf@ngraves.fr> <87o7pilyb4.fsf@gmail.com> <874jra5a2x.fsf@ngraves.fr> <865ybqc4zo.fsf@gmail.com> <874jr9wqml.fsf@gnu.org> <86k003za7z.fsf@gmail.com> <87v8jn49vm.fsf@ngraves.fr> <87edq2dsy7.fsf@ngraves.fr> Date: Tue, 07 Mar 2023 12:52:28 +0100 Message-ID: <86cz5kdbib.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 77EE5EFF9 X-Spam-Score: -10.74 X-Migadu-Spam-Score: -10.74 List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: LSCP0WKaAcIV Hi Nicolas, On Mon, 06 Mar 2023 at 12:23, Nicolas Graves wrote: > I have a WIP version which should solve the issues of hash and > native-inputs. Awesome! > I still have the two following issues, if someone has a hint: > >> - there's a difficulty for defining guix-name->julia-name with the >> simple guix/import/utils.scm snake-case. We should define proper >> functions to convert without ambiguity from CamelCase to snake-case >> and back, and that also encompasses cases like JuMP and OCReract. I >> had one option in mind but haven't tested it to get the name in the >> url. Or maybe we should have a #:julia-name field in arguments or >> properties. WDYT ? I suggest to track the upstream name with the field =E2=80=99properties=E2= =80=99, e.g., (properties `((upstream-name . "CamelCase"))) as it is done for CRAN/Bioconductor importer; see (guix import cran). >> - readme is full of html junk, I don't know if we can process it to get >> pure text output easily in Guile ? Yeah, I do not know either. Cheers, simon