From patchwork Fri Jun 11 13:11:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 30155 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6938D27BC81; Fri, 11 Jun 2021 14:13:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2DF1627BC78 for ; Fri, 11 Jun 2021 14:13:36 +0100 (BST) Received: from localhost ([::1]:36658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrgyd-0001AR-9Z for patchwork@mira.cbaines.net; Fri, 11 Jun 2021 09:13:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrgy8-0000Yq-Bk for guix-patches@gnu.org; Fri, 11 Jun 2021 09:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrgy8-0003VD-4e for guix-patches@gnu.org; Fri, 11 Jun 2021 09:13:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrgy8-0003jz-10 for guix-patches@gnu.org; Fri, 11 Jun 2021 09:13:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48956] [PATCH 41/58] gnu: Add rust-text-size-1. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 13:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48956@debbugs.gnu.org Cc: Zheng junjie <873216071@qq.com> Received: via spool by 48956-submit@debbugs.gnu.org id=B48956.162341718214351 (code B ref 48956); Fri, 11 Jun 2021 13:13:03 +0000 Received: (at 48956) by debbugs.gnu.org; 11 Jun 2021 13:13:02 +0000 Received: from localhost ([127.0.0.1]:38499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrgy5-0003jK-Rg for submit@debbugs.gnu.org; Fri, 11 Jun 2021 09:13:02 -0400 Received: from out203-205-221-245.mail.qq.com ([203.205.221.245]:35552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1lrgy3-0003il-Sy for 48956@debbugs.gnu.org; Fri, 11 Jun 2021 09:13:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1623417173; bh=fEuF6KTzY+LT9ER2MZjbh/iI9oOR8mrkvECi4yVdAUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RbmnuEFiqbAYcRm7h2B1tCHqgd0JeBqEZtO4SxZ4PYUAbPmbF08wBqliOLQKMajyt 6r/Lk71nBi54iydWTm8hFQbFxyqETsf7FS/6F5bFjWJ+EyxfhX7zw29xTZNJvyDak3 s1Der6jgjJzUi9J6q/zy8oQ/i5qu4D8Bt2QqO6jk= Received: from localhost.localdomain ([2409:8928:1204:1e6e:6319:fd60:2291:6721]) by newxmesmtplogicsvrsza23.qq.com (NewEsmtp) with SMTP id 32E8142E; Fri, 11 Jun 2021 21:12:46 +0800 X-QQ-mid: xmsmtpt1623417170thoxsicvz Message-ID: X-QQ-XMAILINFO: Njhs4l/mityqxOhyfmU9h63MC0MwOikWwbDADnbCz/DQXFryVkdA7fPnXdFVN2 Vc0taHeHHF0wzdVhOXPfdBbAtYavUzuxwHfg2h5wT5E/WI4fmSg/wTQKMzPlCUfRneVQJCdWRVbg ElFwPE6vQWWXp3FkfNdjFT57ANkxuWFq4S8RlJB6wuT2yzrG5k5ObJcJmmOMs3edc9eIjCxhchOH snEQ61XIiyuy60ESW3zgTmurwUIxH/+16lw7hvCE6hdBwFAOKxxxaYBOVb3AMDLDFAG7GKOQ2GoE SanhQiegxKfZ2K6hucJSaDVise9Bhj/8yywdzM164Ww9gSZ2SASM+mxiDImPAvhJfdGpksY8gR0F /Q/F5Uxpaowl0nYDontUAYGv6GKGbNdmUj+/ALxQvgN0gLJ8q47P475OLNYcY7lI5PHaYfuP8A/b daVFGCM/OMhB3r0bVOqy4uetKS1w7z1aygCcZiyPcTyAdSXcES9O7owdUR1NYADuJ5oDYAZ3/THC Z3N52RZohtDtoZ8Z0J3hGGBrO2qmsKbb4AeHsr4VjT6yj97iCBsrSB+7ibQwDQeMGW/kz7hMWYaY LvKTK3JpnzvDL/it0jHoYwSeQBwx7Pg2IgeJ7yFhoR20FMVRDxZYHQueiQgrRn65sgHFR+CLEzzq 43J+ez549DLFjU/amW5Geqs7NdoB1nwpKNIsaUNcdTo2wqbdtOjomACjFMpNrltZA9nuLfks0wiK cHsqE89l2DdKWvHSk8jrytZXXxsoCCFE/V0UKVZh9bmXtP06r2IyilNAu4h0dHBl4+oN8hbNSaMk 0WxjAqBn9F0WMVU+DSDPk34+GPhS67UPm62yPFR4KwMU2N5fJw2uVTPqJANGHkS5Ga65PVgwtdFp MHi3RMa0EJVqT/5YTXCVdHlsqe9JBrYw== From: Zheng Junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 21:11:50 +0800 X-OQ-MSGID: <20210611131207.11616-7-873216071@qq.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210611131207.11616-2-873216071@qq.com> References: <20210611131207.11616-2-873216071@qq.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Zheng junjie <873216071@qq.com> * gnu/packages/crates-io.scm (rust-text-size-1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 233c5d31c3..a3ce45890e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45353,6 +45353,34 @@ for TLS).") unstable language features.") (license (list license:expat license:asl2.0)))) +(define-public rust-text-size-1 + (package + (name "rust-text-size") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "text-size" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02jn26l5wcdjqpy80ycnk9ha10flyc0p4yga8ci6aaz7vd4bb318")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1) + ("rust-static-assertions" + ,rust-static-assertions-1)))) + (home-page + "https://github.com/rust-analyzer/text-size") + (synopsis "Newtypes for text offsets") + (description "This package provides a newtypes for text offsets") + (license (list license:expat license:asl2.0)))) + (define-public rust-textwrap-0.12 (package (name "rust-textwrap")