From: Gabriel Arazas <foo.dogsquared@gmail.com>
To: 56037@debbugs.gnu.org
Cc: Gabriel Arazas <foo.dogsquared@gmail.com>
Subject: [bug#56037] [PATCH 03/14] gnu: Add rust-similar-2.
Date: Fri, 17 Jun 2022 19:59:04 +0800 [thread overview]
Message-ID: <371bac1e750c318007a519831f73547c5a85100f.1655465108.git.foo.dogsquared@gmail.com> (raw)
In-Reply-To: <c6b2d7c30e4d7a6e4af59d75c7ecf9c7951e1515.1655465108.git.foo.dogsquared@gmail.com>
* gnu/packages/crates-io.scm (rust-similar-2): New variable.
(rust-similar-1): Inherit and adjust.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 88339619ca..8278bef7a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56363,8 +56363,31 @@ (define-public rust-simdutf8-0.1
extensions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-similar-2
+ (package
+ (name "rust-similar")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "similar" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lw33na01r35h09s47jqhjgz3m29wapl20f6ybsla5d1cfgrf91f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bstr" ,rust-bstr-0.2) ("rust-serde" ,rust-serde-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
+ (home-page "https://github.com/mitsuhiko/similar")
+ (synopsis "A diff library for Rust")
+ (description "This package provides a diff library for Rust.")
+ (license license:asl2.0)))
+
(define-public rust-similar-1
(package
+ (inherit rust-similar-2)
(name "rust-similar")
(version "1.3.0")
(source
@@ -56379,12 +56402,7 @@ (define-public rust-similar-1
`(#:skip-build? #t
#:cargo-inputs
(("rust-bstr" ,rust-bstr-0.2)
- ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
- (home-page
- "https://github.com/mitsuhiko/similar")
- (synopsis "Diff library for Rust")
- (description "This package provides a diff library for Rust.")
- (license license:asl2.0)))
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
(define-public rust-simplelog-0.11
(package
--
2.36.1
next prev parent reply other threads:[~2022-06-17 12:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-17 11:55 [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 01/14] gnu: Add rust-kstring-2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 02/14] gnu: Add rust-toml-edit-0.14 Gabriel Arazas
2022-06-17 11:59 ` Gabriel Arazas [this message]
2022-06-17 11:59 ` [bug#56037] [PATCH 04/14] gnu: Add rust-snapbox-macros-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 05/14] gnu: Add rust-snapbox-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 06/14] gnu: Add rust-libtest-mimic-0.3 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 07/14] gnu: Add rust-textwrap-0.15 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 08/14] gnu: Add rust-trycmd-0.13 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 09/14] gnu: Add rust-const-format-proc-macros-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 10/14] gnu: Add rust-const-format-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 11/14] gnu: Add rust-clap-lex-0.2 Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 12/14] gnu: rust-clap-derive-3: Update to 3.1.18 Gabriel Arazas
2022-06-18 20:27 ` Maxime Devos
2022-06-17 11:59 ` [bug#56037] [PATCH 13/14] gnu: rust-clap-3: " Gabriel Arazas
2022-06-17 11:59 ` [bug#56037] [PATCH 14/14] gnu: hexyl: Update to 0.10.0 Gabriel Arazas
2022-06-17 17:11 ` [bug#56037] [PATCH] gnu: Update hexyl to 0.10 Maxime Devos
2022-06-17 17:26 ` Maxime Devos
[not found] ` <389bdecf-ca8f-208a-f7b8-4a9ddc92447c@gmail.com>
2022-06-20 10:40 ` Gabriel Arazas
2022-06-20 11:22 ` Maxime Devos
2022-07-10 5:03 ` antlers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=371bac1e750c318007a519831f73547c5a85100f.1655465108.git.foo.dogsquared@gmail.com \
--to=foo.dogsquared@gmail.com \
--cc=56037@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.