From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YOcZMKP1R2fFGAAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Nov 2024 04:46:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YOcZMKP1R2fFGAAAqHPOHw (envelope-from ) for ; Thu, 28 Nov 2024 05:46:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qcLx28RI; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VMNRN9wx; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732769187; a=rsa-sha256; cv=none; b=hRvyocZ8VekgbvNgjOckFGraYg7FpiJArxR4X7U4Rez5eBFACnYaqZpAC3/8fFWxNJLj9/ JaZQJVfvq9CQYE7wrcKtw/CiUtyyBFkrSmY9w+ejWyysq0ugbvt+U5Ev5NSkl43ofAl9qd kMtO2Dk6Gm92DDbsOvZNPzKvxWa1L5yqmY4v0IkrHLbzpQ/Q8rzPWhgwnQHUouyApUuFV4 4K02CFdIaotzdWtyQp8+SMYh5FvRDUpI77mpxXxhz23wULb5fmYlkiAE4vIGEg2cnFyNIz WMPv6ED2bpyyqZD7AiFUNbD9wgMJT2TkKR2ziME5Om6X50yfWUqcEJIs/e1jvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qcLx28RI; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VMNRN9wx; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732769187; 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: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=8jPYwsLFN9u/4XPwG8Ay1Va94yt7nUfW6O0+ti5RkOA=; b=g1/NXvgQXoWDwnqjk8JkAXYrbc3ic33dVe6/3+Stf6KgRmEovgYgq3ymwenzcJftUqddq6 134YVBzQ+Skb0zKyTr8hXjYWy6HnPeO9VzE6sDYWlORxR/dbhYDXnH2NCeY1aEeaXLXYv9 yKKeUaVjjiiUN+7OArORw+A7liFelY7F2IV9ZsWc3OjHfpa5rUcWjUPQ7JTjQDMS7VWPaC /aBSOXTWFfQimt7kQKRyVEduU+7dnNgAYb3BYhAuI6nnN+KwTpwRVNAOlK1kvpBOc1xqfJ sIik4IrY/tS8YeAfcZUxgBwg77EismWip1kviawAPx0FNL8Fjv0l2wVRZr011w== 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 1467E7A715 for ; Thu, 28 Nov 2024 05:46:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGWPm-0004HE-Pv; Wed, 27 Nov 2024 23:46:06 -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 1tGWPk-0004Fv-E3 for guix-patches@gnu.org; Wed, 27 Nov 2024 23:46:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGWPj-0004uQ-Sq for guix-patches@gnu.org; Wed, 27 Nov 2024 23:46:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=8jPYwsLFN9u/4XPwG8Ay1Va94yt7nUfW6O0+ti5RkOA=; b=qcLx28RIx99AGRR+9HPmv8JrdghM8ccWBkXE55PlFjFj0JFLOPRLZvL2mVE6+KvPMdOsJqLn421QBnxRic9jjvgQJ2T/h5stXScSZQ6SyCKaIrEE+PG/wcjRdTkeiWrKTPS/VZvmg+7gPAXrSHHOS2mwqP/I2W3IzDq5+s/a++lGjYCD7XMjJwUhFYx1ro5/eQu1/DbcQOXk4OZiCv+x5Bf236RaGPoP/wAQZrIdmD6inYV7Z/BNYTfBc0Xq8DjyArNDAwn9qb6+vLY7aNkJnV9Q5g2uFImmwAtf2Bd72T/dTYiwHoepPkAtZ7VJ+cUHsHjG2pcEyznsA4Ek8gtp0Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGWPi-0000U1-PV; Wed, 27 Nov 2024 23:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74558] [PATCH rust-team 5/5] gnu: Add rust-libcst-1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 04:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74558 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74558@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer , Efraim Flashner X-Debbugs-Original-Xcc: Maxim Cournoyer , Efraim Flashner Received: via spool by 74558-submit@debbugs.gnu.org id=B74558.17327691051467 (code B ref 74558); Thu, 28 Nov 2024 04:46:02 +0000 Received: (at 74558) by debbugs.gnu.org; 28 Nov 2024 04:45:05 +0000 Received: from localhost ([127.0.0.1]:35883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGWOm-0000Mp-CP for submit@debbugs.gnu.org; Wed, 27 Nov 2024 23:45:05 -0500 Received: from mail-pj1-f44.google.com ([209.85.216.44]:44459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGWOj-0000KU-75 for 74558@debbugs.gnu.org; Wed, 27 Nov 2024 23:45:02 -0500 Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-2ea4e9e6ef2so331477a91.1 for <74558@debbugs.gnu.org>; Wed, 27 Nov 2024 20:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732769035; x=1733373835; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8jPYwsLFN9u/4XPwG8Ay1Va94yt7nUfW6O0+ti5RkOA=; b=VMNRN9wxpcPeHfIhrCdG65ezK4FhlOH5IcLsX3Q5sBL58qx1FI1sU1DR+pyeq4H1Ev dlg4925ZlUBS49zWHp3Hud8f6V/sowYFBg3jqsmJO20HPaOc6a9FfaY9MH5PdglytD2E dbFT/etmymAJfb/y77KXTP310BaxnbUqCnLFd6pZ5zLapfN0Bi+jRdbn7aP9UgKa9E+l 2tougDJi4z01d3GCAeS/KT52kp3P77LgFIu1SyE++V/tUX2KmPKG3Fo4qoNdYPRTkKzB CZ6e5ZYXZusQ9IjDW9wsr3Mp5wkCCEss5fwkPgKVShcw6frR7UIZdJsrA5n8S+rpxUdy wNKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732769035; x=1733373835; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8jPYwsLFN9u/4XPwG8Ay1Va94yt7nUfW6O0+ti5RkOA=; b=CUPKulNMTu/oO10psjf3gm935RKkmlAdQ3LJhoMWAezL/a2Dijynq5nchINxAuLkdz wNOhOPfWN3C5NScWcd9ZBnQ7TDGLaEk2fXV8C9YtD7cDl46v8Fqy5kpfvDNDe1VQJYqQ XMTzQCKVt8SsYsEzq+0m0/3ZKRO/egFtTq8VWy1lXo6boTJvU77nF7oEX25G/5c3ni40 vKrQ8B3nGqN+qnxDSvuajEXaP0YETDfwOKIzlzwBk2KKUrm6HABI30FSfuSXq9A2HTbC Q9t7hfWGbIT7yHOpJPys/iOwEyzRrxKQgIn7JStUk7DB06zAFQ6IJIImpeCNuaqRkDRo U8hA== X-Gm-Message-State: AOJu0Yz54rIXOLDcbSOxmLGazD//KkGA/7YIrXqX0I/yqJFmG5wj/qNC V7lLetxaZ2+pRSs9JHNGM2XFXM5t2puCwYbbdLgUyu6rLUS+ZRJnzq2wPg== X-Gm-Gg: ASbGncuVQEIfyOdy2tlAbqzPMjmNOT/gzh0zA8kcrs5SMvcrDFNLOS5/saxA0xfcEB8 xjPqthlZI6qRgR70f3Q7bGmOAI+gnqJiTSz6jl8kOIbi16GavXGCoACIHzIuiFI6C0FMI543zqV hsHwyJfGibqKRcH0fDDyG1WC8p8Zj4lYWAfm9MIz/oJ1O5DV6mQ/lmQ7cE2/cIqqMTr7PN/5eEJ DZEn+YZU4HOuFHxQCVUS3CQB2wbsEIX8mK/5fbPB/mP+1DSsyEGTwWoAT8TLslUNOYo X-Google-Smtp-Source: AGHT+IH8AwJANO5HaC2fC5TkueB9O8auLgFGiS2kohMHFfue9VFhyHtjOC+W4H6YIaBVAsf2kyEkow== X-Received: by 2002:a17:90b:1e4b:b0:2ea:4c4f:bd18 with SMTP id 98e67ed59e1d1-2ee097eafc2mr7438252a91.36.1732769035140; Wed, 27 Nov 2024 20:43:55 -0800 (PST) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2edeed29702sm3961164a91.0.2024.11.27.20.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2024 20:43:54 -0800 (PST) From: Maxim Cournoyer Date: Thu, 28 Nov 2024 13:43:09 +0900 Message-ID: <569c3db564d88bf17eba472eb38565f434194296.1732714840.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1467E7A715 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.83 X-Spam-Score: -7.83 X-TUID: RtRY5wiVgu1Y * gnu/packages/crates-io.scm (rust-libcst-1): New variable. Change-Id: Ief66cbaf06a00ada6c2b497352c6143dd874cc32 --- gnu/packages/crates-io.scm | 43 +++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 401a20f239..e204e5df60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2020 André Batista ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020 Antoine Côté -;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer +;;; Copyright © 2021-2024 Maxim Cournoyer ;;; Copyright © 2021 aecepoglu ;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandru-Sergiu Marton @@ -39675,6 +39675,47 @@ (define-public rust-libcst-derive-1 (description "This package provides Proc macro helpers for libcst.") (license license:expat))) +(define-public rust-libcst-1 + (package + (name "rust-libcst") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libcst" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xdh02bz1gm9hlpz02r7mk90zk3ki74pypsama33vflck9bn0gps")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; The roundtrip_fixtures fail due to a missing file in the crate + ;; (see: https://github.com/Instagram/LibCST/issues/1249). + "--skip=roundtrip_fixtures") + #:cargo-inputs (("rust-chic" ,rust-chic-1) + ("rust-libcst-derive" ,rust-libcst-derive-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-paste" ,rust-paste-1) + ("rust-peg" ,rust-peg-0.8) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-regex" ,rust-regex-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-difference" ,rust-difference-2) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-rayon" ,rust-rayon-1)) + #:phases (modify-phases %standard-phases + ;; Avoid keeping a reference to python-minimal in a test + ;; file installed as source. + (delete 'patch-source-shebangs)))) + (native-inputs (list python-minimal)) + (home-page "https://github.com/Instagram/LibCST") + (synopsis "Python parser and Concrete Syntax Tree library.") + (description + "This package provides a Python parser and Concrete Syntax Tree library.") + (license (list license:expat license:psfl)))) + (define-public rust-libdbus-sys-0.2 (package (name "rust-libdbus-sys") -- 2.46.0