From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2EbDIqqPIGNqIAEAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 16:11:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wEuuIqqPIGOPfwAAauVa8A (envelope-from ) for ; Tue, 13 Sep 2022 16:11:54 +0200 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 25EC735E1F for ; Tue, 13 Sep 2022 16:11:54 +0200 (CEST) Received: from localhost ([::1]:54662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY6dl-0003IE-Bt for larch@yhetil.org; Tue, 13 Sep 2022 10:11:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY6c3-0002S7-1j for guix-patches@gnu.org; Tue, 13 Sep 2022 10:10:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY6c2-0003ns-PJ for guix-patches@gnu.org; Tue, 13 Sep 2022 10:10:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oY6c2-0003wJ-Ld for guix-patches@gnu.org; Tue, 13 Sep 2022 10:10:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57702] [PATCH 2/8] gnu: rust-textwrap: Add 0.15.0. References: In-Reply-To: Resent-From: VesselWave Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Sep 2022 14:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "57702@debbugs.gnu.org" <57702@debbugs.gnu.org> Received: via spool by 57702-submit@debbugs.gnu.org id=B57702.166307818115001 (code B ref 57702); Tue, 13 Sep 2022 14:10:06 +0000 Received: (at 57702) by debbugs.gnu.org; 13 Sep 2022 14:09:41 +0000 Received: from localhost ([127.0.0.1]:52273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY6bd-0003tn-7O for submit@debbugs.gnu.org; Tue, 13 Sep 2022 10:09:41 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:64213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY23k-0005Kp-Ci for 57702@debbugs.gnu.org; Tue, 13 Sep 2022 05:18:24 -0400 Date: Tue, 13 Sep 2022 09:18:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1663060698; x=1663319898; bh=+V7KmkSiuxjtR435sTuYGfYoNTkANl3iqT+Rx07olNk=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=e0yj76M07eGzhqE4aEWcWQhAxWmkfVCvikwRBBsEpZSdafwkaGbdcewvZ54sah2Mu aaNvQgg+BnxXIFxEvQsspIclEGoJyJYbPU9mNP1f8HePO9ytLH8H/6I9zWQTv8nptg tmDq9NtFSZaUfIO64G5pQvyiaoMNkZpw6Pc5rEhQZt7vTFfa0Zljgp4yEXrV964gmb 1bUJpsaOFUE3m4GVWGaygUlPdDvQ7h56DsjelpHcz9Vq/nZ5MwX1cPPPiUrJdwmNmY zXkh1efD/3SFVPC6HEnRMIxseFf7LuhJv2y833iaae4janTxJaFvrU4S859zvoq82b JXdZpu8LszlVQ== Message-ID: Feedback-ID: 44853655:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Tue, 13 Sep 2022 10:09:36 -0400 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: VesselWave X-ACL-Warn: , VesselWave via Guix-patches From: VesselWave via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663078314; 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-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=+V7KmkSiuxjtR435sTuYGfYoNTkANl3iqT+Rx07olNk=; b=fa1qvZ8saxOIKQChtzi0W9HWq4g72yYjb575tu/zJnrtNwkex3Gzixpe7PFkbk9/Y2FCit bOOBfXfKJ6BRFuR9xA777pZey6cYDzwVhFyjnSHdOPHQK3zP50/sxAV7aNtCxO/jgmqrL6 4Ysntrh/t7m2w2j5DNG1BdnI+Nml2g52jK1nbhxexde39d23PRzyZ5QViMsShVimOM0LqW JQtN0okCS4zuGgtAwBhKkqPmv6XsFUc4uwaTijhiWy6vxVDeIWutBsjQppH0/vSlQxE1Mz ZWcAd/+RvoUjqQcbBvLzxcqsSxH0qLGTQ7nrwhyFkCbADd85mQWMRnVZg8XqEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663078314; a=rsa-sha256; cv=none; b=kG1e9nGuCvFRAbFqRBi3dZR1KD3RHv4i78+KQOAlZXkJPzzjxoWmJFjTYOzBJcIXNACFix eDxuXKwj0DNK5WLJuq5C1DvJRk9gQsVhLrjM04yJrxpF9EZGgiV4cgKqFw52kepNMy3Jct Qt9Wrq9PkHV/lTFZ6NmJSTQqqWempjAQiFE9fmUbgLObLHOUjdF7IOhWluyTmXL5vwjelt lGNbuGrNWQHP8Ulic781r5kzotjULfPPW7ekkKecBJfeXqf5DWbo/vORTtIJ5VaWVTR7zG jsQ5rhUKEVdHD+BhhlqzcZNbFVBMBdYxxFCjbJoalOtOSe/W39SNAA0iIytYuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=e0yj76M0; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=e0yj76M0; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 25EC735E1F X-Spam-Score: -3.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: mXWvRKvbCJJW So I removed skip-build but added tests #f. Maybe you know a better way to = remove unic-emoji-char from Cargo.toml? --- gnu/packages/crates-io.scm | 57 ++++++++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8a91ee3adc..707105dec3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63836,8 +63836,52 @@ (define-public rust-text-size-1 (description "This package provides a newtypes for text offsets") (license (list license:expat license:asl2.0)))) +(define-public rust-textwrap-0.15 + (package + (name "rust-textwrap") + (version "0.15.0") + (source (origin + (method url-fetch) + (uri (crate-uri "textwrap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i")) + (modules '((guix build utils))) + (snippet + '(substitute* "Cargo.toml" + ;; rust-unic-emoji-char contains binaries (non-source) + ;; and is an optional dependency so it's deleted + (("\\[dev-dependencies.unic-emoji-char\\]") "") + (("version =3D \"0.9.0\"") ""))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-hyphenation" ,rust-hyphenation-0.8) + ("rust-smawk" ,rust-smawk-0.3) + ("rust-terminal-size" ,rust-terminal-size-0.1) + ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-lipsum" ,rust-lipsum-0.8) + ("rust-termion" ,rust-termion-1) + ; ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (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 dedent= ing +strings. You can use it to format strings (such as help and error message= s) +for display in commandline applications. It is designed to be efficient a= nd +handle Unicode characters correctly.") + (license license:expat))) + (define-public rust-textwrap-0.12 (package + (inherit rust-textwrap-0.15) (name "rust-textwrap") (version "0.12.1") (source @@ -63855,20 +63899,11 @@ (define-public rust-textwrap-0.12 #: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 dedent= ing -strings. You can use it to format strings (such as help and error message= s) -for display in commandline applications. It is designed to be efficient a= nd -handle Unicode characters correctly.") - (license license:expat))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-textwrap-0.11 (package - (inherit rust-textwrap-0.12) + (inherit rust-textwrap-0.15) (name "rust-textwrap") (version "0.11.0") (source -- 2.37.2