From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPqtE1Q4iGDHcwEAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 18:14:12 +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 CP1FD1Q4iGAgbQAAbx9fmQ (envelope-from ) for ; Tue, 27 Apr 2021 16:14:12 +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 D2417DA05 for ; Tue, 27 Apr 2021 18:14:11 +0200 (CEST) Received: from localhost ([::1]:44332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbQLj-00083a-0R for larch@yhetil.org; Tue, 27 Apr 2021 12:14:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQLd-00080t-Pm for guix-patches@gnu.org; Tue, 27 Apr 2021 12:14:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbQLd-0002Jj-IS for guix-patches@gnu.org; Tue, 27 Apr 2021 12:14:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbQLd-00074T-Cy for guix-patches@gnu.org; Tue, 27 Apr 2021 12:14:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Apr 2021 16:14:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48065@debbugs.gnu.org Cc: Zheng Junjie <873216071@qq.com> Received: via spool by 48065-submit@debbugs.gnu.org id=B48065.161954003127059 (code B ref 48065); Tue, 27 Apr 2021 16:14:05 +0000 Received: (at 48065) by debbugs.gnu.org; 27 Apr 2021 16:13:51 +0000 Received: from localhost ([127.0.0.1]:50685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbQLO-00072G-NX for submit@debbugs.gnu.org; Tue, 27 Apr 2021 12:13:51 -0400 Received: from out162-62-57-252.mail.qq.com ([162.62.57.252]:41057 helo=qq.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1lbQL8-00070U-K7 for 48065@debbugs.gnu.org; Tue, 27 Apr 2021 12:13:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1619540008; bh=I6SxId9ZjCGrImogX4BZAP0ycdTGpn1Vf2P7KLn/fOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TDL/9GjofB0JhkbGEfojLPFeBFo1d4IClmSkpYpQt3olbSui8KYvRBJUu5LZ8qIci ddTm0jxaR2PJ2eNIM6CArgGZHBpAXNm0qiW8Dd1oJXQKSz38u10gELboV5R2TsyU+h VtsbzGL9ubXUIb26AgZVP8JuiF1y60SgHVFMTGNg= Received: from localhost.localdomain ([2409:8928:12a4:191:3e4e:f7b6:c863:386e]) by newxmesmtplogicsvrszc9.qq.com (NewEsmtp) with SMTP id 3362A460; Wed, 28 Apr 2021 00:12:54 +0800 X-QQ-mid: xmsmtpt1619539988tok5k93d1 Message-ID: X-QQ-XMAILINFO: OCHmZwqez7R4Iw2qutCsjjXnjfHviU/lisCD7cvQIO6JyAbsgS3lNWCQJNYb+7 tEMQjP3MGKp8WBLOmErL0d224pePOWEJ6a6TbVnAp+eaNL5pFDYFFexZi1C5qeT/Gh6LV5qhlQ0e TtA0lqt1W3lduAi+DJVxVS77juavAmjggb0NsWc7K9kx7u3Gu8rS0cwgRmT5GVhvPbvmIZn4soOK TxNkdNyc11YpcihitoUT2OsFDt3oIjoi2HS3uXQlryKmEFwz0kssVx5r8jsBoMZEtjHNbZeVtKXr furyyitWwt6yHrq3B29908LBbvkzA3iE0YTLu2H2+EagcD6p4ljsAwDVFUuuabzubyX5/qoh23tl Sy9HVF3WLX7zKUkeHw5+wg5twcDq8pU1IsDLT5klB5rtq6ivRI/N9w4Muu+ZB1ld7OBvyhsfHwvz o6ejyTHnM7AWnRmYS3ezFolbs0OvHR24sjNMrR/jpeD8+X3bfwNTXvx9zcqkpgX1wmGaYYuTQhuh 7ETowvzHHYkNr/e/F69M5JnVnIrch/DuPQOGrOfe7NpneN5AoCZF1j1v/vKJL+Wd4UkD/85l76jo hVceNnQKVJM9ZlRt8XQilQEwlMAFoLvBG4ycm2/GqwLGYnm+B4Jogz1C5SAsKgo1mN5fTUpUGW33 OXJYF21aATLUqaGu6eb3FDGR1l1IFpyenNkeEpoQgWwjOvzWxzxDUm80sj/nV8TAQXJFgiCVUEhm 125LniKroCb62jTfNE1Rr3czF/GdOvKNngRhdnKZhZQy1Zd/JdsKuPtxLrLHsdFrfARJKt71+NB9 kS6obdeItQBEwtRtij6ZWFYE8BiDZ1Rg4= From: Zheng Junjie <873216071@qq.com> Date: Wed, 28 Apr 2021 00:12:23 +0800 X-OQ-MSGID: <20210427161233.7381-4-873216071@qq.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210427161233.7381-1-873216071@qq.com> References: <20210427161233.7381-1-873216071@qq.com> MIME-Version: 1.0 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619540052; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=I6SxId9ZjCGrImogX4BZAP0ycdTGpn1Vf2P7KLn/fOA=; b=dzOwwsSEv4k303xPOMgJgEuBAnJrrLt+zBIkFuWl7LSAXk3OUvl/arRjbfekQi4qA31wTn w4cDAnWPf4+3uzbZrzY6Xc0pZHr5RlqS41oKpF+oiN/qYM2nIwhe55TVa+gjf9zJHF+cQR RlaMMUhouoshezA6BCWdQ0YJjTooxVYJRc62yQkarqWyN9lM3BZUYq1Ned/C5GRKkhn51u 8El5bR4q3X0Pc1yN8lUVl3UqcZkoSI1PRE1Q9zleBkpDIWVum+o+uzaF4bnhinwM7+2Buk nFE4wVHh7Sc/5syaeijWFsvStu0yxHX9kjq4xlLUBgZPdnKthSDhxTHGWIBX6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619540052; a=rsa-sha256; cv=none; b=VXVjwiEZMsJUJtzPa/uMz3foVzKqkI7Ge+O1i7+4v4Oz0/vvEUG1bP77gyosm7nt8wX3b5 jz76004UEWqHCWuw/Vxcc9DQ8+pOva7CTwG40+fd0iPmmIwYolR7tzMIqKhJMc91vsk4dx Cp2R+sSvfJU121xAB2Z02+LowwINmseYQEuAwFYIQtwcny9WHrERwljS8SvrtY1vr9KZyy 2opPs0ncwpiSDJpOujAvq5bpdPqxjd5Jxd0BDvO/ynDQuKggd+ksGSGGAmnSyvb72XjIX8 hiWD57P+l6nokjbQ3hB5eLlBSsRDdz3I3d8dj9Jar3FjBV7XcorRU+LfHmiA6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b="TDL/9Gjo"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); 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: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b="TDL/9Gjo"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); 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: D2417DA05 X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: wkq3qgYmGcq8 * gnu/packages/crates-io.scm (rust-textwrap-0.12): New variable. (rust-textwrap-0.11): Inherit from above. --- gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cfacbf4a54..45c0752adf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42267,19 +42267,49 @@ for TLS).") unstable language features.") (license (list license:expat license:asl2.0)))) +(define-public rust-textwrap-0.12 + (package + (name "rust-textwrap") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "textwrap" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hyphenation" ,rust-hyphenation-0.8) + ("rust-terminal-size" ,rust-terminal-size-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/mgeisler/textwrap") + (synopsis "Library for word wrapping, indenting, and dedenting strings") + (description + "Textwrap is a small library for word wrapping, indenting, and dedenting +strings. You can use it to format strings (such as help and error messages) +for display in commandline applications. It is designed to be efficient and +handle Unicode characters correctly.") + (license license:expat))) + (define-public rust-textwrap-0.11 (package + (inherit rust-textwrap-0.12) (name "rust-textwrap") (version "0.11.0") (source - (origin - (method url-fetch) - (uri (crate-uri "textwrap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) - (build-system cargo-build-system) + (origin + (method url-fetch) + (uri (crate-uri "textwrap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0q5hky03ik3y50s9sz25r438bc4nwhqc6dqwynv4wylc807n29nk")))) (arguments `(#:skip-build? #t #:cargo-inputs @@ -42290,15 +42320,7 @@ unstable language features.") (;("rust-lipsum" ,rust-lipsum-0.6) ("rust-rand" ,rust-rand-0.6) ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) - ("rust-version-sync" ,rust-version-sync-0.6)))) - (home-page "https://github.com/mgeisler/textwrap") - (synopsis "Library for word wrapping, indenting, and dedenting strings") - (description - "Textwrap is a small library for word wrapping, indenting, and dedenting -strings. You can use it to format strings (such as help and error messages) -for display in commandline applications. It is designed to be efficient and -handle Unicode characters correctly.") - (license license:expat))) + ("rust-version-sync" ,rust-version-sync-0.6)))))) (define-public rust-thin-slice-0.1 (package -- 2.31.1