From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4ChTHMjU62C5dgAAgWs5BA (envelope-from ) for ; Mon, 12 Jul 2021 07:36:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aAQhGMjU62DHJgAAbx9fmQ (envelope-from ) for ; Mon, 12 Jul 2021 05:36:08 +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 285DF96FA for ; Mon, 12 Jul 2021 07:36:08 +0200 (CEST) Received: from localhost ([::1]:58956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2obv-0002dR-7W for larch@yhetil.org; Mon, 12 Jul 2021 01:36:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2obq-0002dB-JF for guix-patches@gnu.org; Mon, 12 Jul 2021 01:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2obq-0002uE-BS for guix-patches@gnu.org; Mon, 12 Jul 2021 01:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2obp-0003iB-V1 for guix-patches@gnu.org; Mon, 12 Jul 2021 01:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49531] [PATCH core-updates 0/4] import: {utils, go, crate}: Emit new-style package inputs. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Jul 2021 05:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49531 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49531@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162606812914225 (code B ref -1); Mon, 12 Jul 2021 05:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2021 05:35:29 +0000 Received: from localhost ([127.0.0.1]:36321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2obJ-0003hM-9O for submit@debbugs.gnu.org; Mon, 12 Jul 2021 01:35:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:46274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2obF-0003hD-5u for submit@debbugs.gnu.org; Mon, 12 Jul 2021 01:35:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2obC-0002K2-B6 for guix-patches@gnu.org; Mon, 12 Jul 2021 01:35:23 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]:30534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2ob9-000282-FR for guix-patches@gnu.org; Mon, 12 Jul 2021 01:35:22 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1626068114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=37VHsn0Ih1WJ5XsS8dIX7BgttA6ueIM+CthOMGEdjfA=; b=Hof4YCPs5ARJoJDXvV57h37wMox61fU5rBLHBdvw23t8kBKq7D9N8mau3hB2BxYbHBoo3s OEPpK242Z2KzycRwqTKcNVgJB6fFnoiEazsDN1nadEOncnXGFR7wfnR4aMrmZsO7YTR5Qa Omm/DJfCVnNHVdrbNZINNODNQmUgPAI= Date: Sun, 11 Jul 2021 22:35:11 -0700 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=iskarian@mgsn.dev; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Sarah Morgensen X-ACL-Warn: , Sarah Morgensen via Guix-patches From: Sarah Morgensen via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626068168; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=37VHsn0Ih1WJ5XsS8dIX7BgttA6ueIM+CthOMGEdjfA=; b=csBg6ykeR03rqEJPfjSslASZECjXXtRV2FbzFcyul6IxRkkRTyJpI6oU33Qmh79T8bbVOb GfvGxWeM7Sk3U8sF3kRw+XGp0D9k43IoC8nfKNQj1lA52JNWb3pSDHz09mZff4eKIffCBI 83KM4Ocp0BNG9tFZxWEJnfVvCi/zIemBD/YPkIJw52wkX7KueTdylW+kgtn5sErtihzyRJ s3MY+8MxbsDR03pzmzNN9QpEDqWnjb42eEyA4xFDlIHR46MmIU+sL+T4GpUNo15yLA7Udf USt3uBvrCE7cwXM0vi0FJ7XhzICaeeA3KEwuO6k9MSoXE0daBhxcgGVHQMcvNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626068168; a=rsa-sha256; cv=none; b=pwAzz0wcIogTq2h9YF/REy6t0CpcJgdxc1Yo7eqese6/3ENfNJyleZjQq9m1ECumh6r/HW yIwI3PWzO/1J2l9apLxvaxHUnnJ6svDaVzNWGqINkBSezgEGcY16qtaw2tCua+TQ55TkEk D5qZaqnphzRuBx9v+ux7vJHX1Jt6/5VynLzAP0o6husPp/ZANcrWGqyUjbrHnl1kDZt0ie mQtp+x9a0Za7/H/hNLpMNV5Ny+68BAt0mwN+IVm6CVdFfBuIEqPiJ8NHYPSmnyGJtSvyRB p0QmZgKqDW3a1xjXkq7/VGomF+MRpfiESscWdhMuR8seMupctgcqeKzlrj8/oA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Hof4YCPs; dmarc=pass (policy=none) header.from=gnu.org; 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: 1.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=Hof4YCPs; dmarc=pass (policy=none) header.from=gnu.org; 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: 285DF96FA X-Spam-Score: 1.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: s7cf7sYselSn Hello Guix, This should bring the go and crate importers into the new input-label-less world (they both use PACKAGE-NAMES->PACKAGE-INPUTS in import/utils.scm). Cargo build system is correspondingly updated to accept both new- and old-style package inputs. I successfully tested importing, building, and running 'drill', a cargo-build-system package. I think this leaves the hackage/stackage, egg, gem, and opam importers. Should we open a bug to track them? -- Sarah Morgensen (4): import: utils: Emit new-style package inputs. import: go: Emit new-style package inputs. import: crate: Emit new-style package inputs. cargo-build-system: Accept new-style package inputs. guix/build-system/cargo.scm | 9 ++++++--- guix/import/crate.scm | 5 +++-- guix/import/utils.scm | 13 ++++++------- guix/packages.scm | 2 ++ tests/crate.scm | 30 +++++++++++------------------- tests/go.scm | 3 ++- 6 files changed, 30 insertions(+), 32 deletions(-) base-commit: 9b4c3c675c05870e5983c21ce4ff944e0b0bc2fa -- 2.31.1