From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 15:57:59 2022 Received: (at submit) by debbugs.gnu.org; 18 Jun 2022 19:57:59 +0000 Received: from localhost ([127.0.0.1]:50127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eZy-0001yr-LN for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:57:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:42240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2eZm-0001vl-JE for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eZl-0001Iu-6e for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:46 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:42896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eZf-0007bZ-OI for guix-patches@gnu.org; Sat, 18 Jun 2022 15:57:42 -0400 Received: by mail-pf1-x435.google.com with SMTP id f18so1589599pfq.9 for ; Sat, 18 Jun 2022 12:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=lR96Yf3O8VX+J5MTuAF0LNUlqL1WIW8bgAvcgvMTjYQ=; b=PdoIwYNuQT+JOq1SUaJJb6InqqteYtwV3tnV4R4mogO8d56GS/M/g7lXAb3phZgsXX L869IZo4eXAn7lEplkpaYJnQY3tjesTM1of0HlBjsHkip4HUdncQI3/2+TJPoVVcQGhW sRh/b+C3hL7rkZc6UDHtglWftcNvSqB9ROmncXP9f8eClgml0f1x1ae15wi7yLKblXFX LJeCqRrnoR6o3NpiFNQcdzHYmAfFWZlZEdGfSQ5mwkge2razmVMNsuW8oJlURKsLnOna uUBrOxAEiRidpWDMwPV4NS3rTP9qbUwFSUeMRuRR7o6PtSRYHAEAb+doAvk/lZWjZhCH nF5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lR96Yf3O8VX+J5MTuAF0LNUlqL1WIW8bgAvcgvMTjYQ=; b=JQAP6ohDo8cYTwUPSVF9MutVknEkxTfYbmF6poH88yF618NFU/xsTMHLFVng11PqHA hXQUFJuCU89BXnW3d45vdQ8LO/AybdUolIGgdaHNronFoOc6BvED034oko3/KQVrA5MG yILl6i5Q4UTke2CwRN7ducicPBhXQHKhtzEz7/dnxBj7BL9iDkW/0mLCpgZzuT/jwvpi 1agLCdUZXDifF8Q4x889PQpAqYR+lZzLG0H9GtgBsTmUOhz4Zj+rq6ghIKSSH41OUo1/ cQkTa7WVQhWPIefT1kvHw3LRJ9hnMHTwisnhvVIUXeV7WcpchOwTkNdlfS2HidFYEzOT bA9g== X-Gm-Message-State: AJIora+RKhA8cE61uBSPlEnZUsIgkGuE0ACTYAKAarak9jurd1o63h+Z nPvJkzdoYUcoURR8HkSUq+Eq5YR7f1o= X-Google-Smtp-Source: AGRyM1ubAT9iS66VCZCmN44XCfEpWDt2rTxqQBSoRG8raq5PInz6PXZJIJQDQ1B0gUmLZJKJxZaoxA== X-Received: by 2002:a05:6a00:2311:b0:4e1:52bf:e466 with SMTP id h17-20020a056a00231100b004e152bfe466mr16715694pfh.77.1655582256874; Sat, 18 Jun 2022 12:57:36 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id y2-20020a17090a104200b001ea629a431bsm5352528pjd.8.2022.06.18.12.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 12:57:36 -0700 (PDT) From: antlers X-Google-Original-From: antlers To: guix-patches@gnu.org, antlers@luris.net Subject: [gnu: Add dua-cli. 13/27] gnu: Add rust-object-0.28. Date: Sat, 18 Jun 2022 12:56:42 -0700 Message-Id: <20220618195656.10108-14-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220618195656.10108-1-antlers@luris.net> References: <20220618195656.10108-1-antlers@luris.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=autumnalantlers@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/crates-io.scm (rust-object-0.28): New variable. (rust-object-0.24): Inherit from rust-object-0.27. (rust-object-0.17): Inherit from rust-object-0.22. (rust-object-0.12): Inherit from rust-object-0.17. --- :100644 100644 bdf4f67fb7 d3dab258f1 M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bdf4f67fb7..d3dab258f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39045,7 +39045,7 @@ (define-public rust-objc-test-utils-0.0 (define-public rust-object-0.28 (package (name "rust-object") - (version "0.28.2") + (version "0.28.4") (source (origin (method url-fetch) @@ -39054,7 +39054,7 @@ (define-public rust-object-0.28 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89")))) + "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -39088,10 +39088,40 @@ (define-public rust-object-0.28 file formats.") (license (list license:asl2.0 license:expat)))) -(define-public rust-object-0.24 +(define-public rust-object-0.27 (package (inherit rust-object-0.28) (name "rust-object") + (version "0.27.1") + (source (origin + (method url-fetch) + (uri (crate-uri "object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ygv9zgi9wz6q5f2z9xn72i0c97jjr1dgj30kbyicdhxk8zivb37")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-wasmparser" ,rust-wasmparser-0.57)))) + (home-page "https://github.com/gimli-rs/object") + (synopsis "Parse object file formats") + (description + "This package provides a unified interface for parsing object file +formats.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-object-0.24 + (package + (inherit rust-object-0.27) + (name "rust-object") (version "0.24.0") (source (origin @@ -39167,7 +39197,7 @@ (define-public rust-object-0.22 (define-public rust-object-0.17 (package - (inherit rust-object-0.23) + (inherit rust-object-0.22) (name "rust-object") (version "0.17.0") (source @@ -39193,6 +39223,7 @@ (define-public rust-object-0.17 (define-public rust-object-0.12 (package + (inherit rust-object-0.17) (name "rust-object") (version "0.12.0") (source @@ -39204,7 +39235,6 @@ (define-public rust-object-0.12 (sha256 (base32 "1dch1ajjp05d16lig1dnvisfis0hrlrvw9lcwy1hwgdcym3z6jnz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -39214,13 +39244,7 @@ (define-public rust-object-0.12 ("rust-scroll" ,rust-scroll-0.9) ("rust-uuid" ,rust-uuid-0.7)) #:cargo-development-inputs - (("rust-memmap" ,rust-memmap-0.7)))) - (home-page "https://github.com/gimli-rs/object") - (synopsis "Parse object file formats") - (description - "This package provides a unified interface for parsing object file -formats.") - (license (list license:expat license:asl2.0)))) + (("rust-memmap" ,rust-memmap-0.7)))))) (define-public rust-odds-0.3 (package -- 2.36.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 19 05:05:01 2022 Received: (at control) by debbugs.gnu.org; 19 Jun 2022 09:05:01 +0000 Received: from localhost ([127.0.0.1]:50675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2qrd-0004k3-0g for submit@debbugs.gnu.org; Sun, 19 Jun 2022 05:05:01 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:47464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2qrY-0004jg-0d for control@debbugs.gnu.org; Sun, 19 Jun 2022 05:04:58 -0400 Received: from [172.20.10.9] ([188.189.158.25]) by xavier.telenet-ops.be with bizsmtp id kx4u2701C0Z9yEL01x4uJn; Sun, 19 Jun 2022 11:04:55 +0200 Message-ID: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> Subject: Re: [bug#56057] [PATCH 00/27] gnu: Add dua-cli. From: Maxime Devos To: antlers , 56057@debbugs.gnu.org, antlers@luris.net Date: Sun, 19 Jun 2022 11:04:53 +0200 In-Reply-To: <20220618195656.10108-1-antlers@luris.net> References: <20220618195656.10108-1-antlers@luris.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655629495; bh=DJifEfkEpNchFv0mPhXgWIB4ntebk2W6fB5xmSfNv7Y=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=EMWMv4RZE2092E/xKESeOxdMPSa3vAy6Kl/91k0/AbcIuQTSdYU3bCDFMwH36JR+G MeBbVVnyEvSMw0+dFJ9dMyskOvHGgbPBm3zGvuD2PMn4I3nzcBZM394trAJUGnBOqe ABe4o+lFy4qcfmKEUlSYixunVGiGxD5J9WZ1eM8ifYn8Kr6LyCmmLLmbHzIwRmSyDp FEALd0cwgK4j0dkHhNyuiW/1eTLpkxnwtY2GsxKQx4xj+yOhOFESfVo6XOSYvS8sk5 5fF5KHLeB8EW0XfaFe+ISq/Dt0a6HhoAo6NFUNecdZkLz47bxIK9L8GZEAEe0gpNjR tXybrZrO0v9pg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: control@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 56057 56056 56061 56059 56062 56058 56060 56063 56064 56065 56066 56069 56067 56074 56068 56073 56072 56070 56071 56057 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 17:59:50 2022 Received: (at 56074) by debbugs.gnu.org; 24 Jul 2022 21:59:50 +0000 Received: from localhost ([127.0.0.1]:48894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFjdd-0002yh-R4 for submit@debbugs.gnu.org; Sun, 24 Jul 2022 17:59:50 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFjdY-0002yD-1d for 56074@debbugs.gnu.org; Sun, 24 Jul 2022 17:59:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DF27A240108 for <56074@debbugs.gnu.org>; Sun, 24 Jul 2022 23:59:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1658699977; bh=dxt6m+Voh757EOLxwK9AFLlgdtMOc93Xqv0H2sw+K8E=; h=From:To:Cc:Subject:Date:From; b=eajilaGp+IW0qZaYcoCg14lC9v7Z1pXsyPVaDlcCCPm5WuiWW2pXArZBC9Pp/UZ6r P7sJBKPoCph0bNfdSE9XH4+FjrWnPslV7T03PgZtABbFG0u2h9Zp4AEywd6Cee7NoH 9p7/n5zJgeFCq5GNyGps8B1718u13QWqhLpvP/+YBd9JVGdiwgtzO0HQSHWKcvlbJQ Q2fk3sECsapDGNyrFzBuDmA0V+UkYc/Z8XWyMUfeUuzpVPIXRi3yLvmEsTfWsYDxWX OC5k5BNnibkHTSw9ZvBAXs8zTEkeQLVqNXm5dmv03aerR6+ZfMxhgmgp9UpuZ9b5fo TqXn43xMa1S+w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LrcXS29yRz6tm6; Sun, 24 Jul 2022 23:59:33 +0200 (CEST) From: Aleksandr Vityazev To: antlers Subject: Re: [bug#56057] [gnu: Add dua-cli. 20/27] gnu: Add rust-textwrap-0.15. References: <20220618195656.10108-1-antlers@luris.net> <20220618195656.10108-21-antlers@luris.net> Date: Sun, 24 Jul 2022 21:59:31 +0000 In-Reply-To: <20220618195656.10108-21-antlers@luris.net> (antlers's message of "Sat, 18 Jun 2022 12:56:49 -0700") Message-ID: <87lesikw8s.fsf@posteo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56074 Cc: antlers@luris.net, 56074@debbugs.gnu.org, 56057@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hi, The textwrap-0.15 build will fail On 2022-06-18, 12:56 -0700, antlers wrote: > * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. > (rust-textwrap-0.12): Inherit from rust-textwrap-0.15. > --- > :100644 100644 fd431e544b f9aabbb334 M gnu/packages/crates-io.scm > gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++----- > 1 file changed, 27 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index fd431e544b..f9aabbb334 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -62665,10 +62665,10 @@ (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.12 > +(define-public rust-textwrap-0.15 > (package > (name "rust-textwrap") > - (version "0.12.1") > + (version "0.15.0") > (source > (origin > (method url-fetch) > @@ -62677,16 +62677,17 @@ (define-public rust-textwrap-0.12 > (string-append name "-" version ".tar.gz")) > (sha256 > (base32 > - "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) > + "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i")))) > (build-system cargo-build-system) > (arguments > `(#:skip-build? #t > #: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)))) > - (home-page > - "https://github.com/mgeisler/textwrap") > + (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 > @@ -62695,6 +62696,27 @@ (define-public rust-textwrap-0.12 > 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 > + (origin > + (method url-fetch) > + (uri (crate-uri "textwrap" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10")))) > + (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)))))) > + > (define-public rust-textwrap-0.11 > (package > (inherit rust-textwrap-0.12) To correctly build textwrap-0.15 u can use these patches (see in attachments). Although, of course, it does not play a big role, older versions also fails when building. -- Aleksandr Vityazev --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0022-gnu-Add-rust-unic-emoji-char-0.9.patch Content-Transfer-Encoding: quoted-printable Content-Description: emoji >From a44052bca7754bd86401aaf207bb85031ff43707 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Aleksandr Vityazev Date: Sun, 24 Jul 2022 23:05:18 +0300 Subject: [PATCH 22/27] gnu: Add rust-unic-emoji-char-0.9. * gnu/packages/crates-io.scm (rust-unic-emoji-char-0.9): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8eb075ab8f..bb608a5ebb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68142,6 +68142,31 @@ (define-public rust-unic-common-0.9 Internationalization Crates (UNIC) project.") (license (list license:expat license:asl2.0)))) =20 +(define-public rust-unic-emoji-char-0.9 + (package + (name "rust-unic-emoji-char") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-emoji-char" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ka9fr7s6lv0z43r9xphg9injn35pfxf9g9q18ki0wl9d0g241qb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-unic-char-property" ,rust-unic-char-property-0.9) + ("rust-unic-char-range" ,rust-unic-char-range-0.9) + ("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis "UNIC =E2=80=94 Unicode Emoji") + (description + "This UNIC component implements character properties and algorithms f= rom +Unicode=C2=AE Technical Standard #51 - Unicode Emoji.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unic-segment-0.9 (package (name "rust-unic-segment") --=20 2.37.1 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0023-gnu-Add-rust-textwrap-0.15.patch Content-Description: textwrap-0.15 >From b7b5118274309e91a9599e487ea3e531a461ce19 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Aleksandr Vityazev Date: Sun, 24 Jul 2022 23:34:33 +0300 Subject: [PATCH 23/27] gnu: Add rust-textwrap-0.15. * gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb608a5ebb..f9a11dd408 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62748,6 +62748,47 @@ (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 + '(begin + (substitute* "Cargo.toml" + (("version = \"1.5.6\"") "version = \"^1.5.5\"")))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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 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.12 (package (name "rust-textwrap") -- 2.37.1 --=-=-=--