[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: Add rust-strsim-0.10.
From: |
guix-commits |
Subject: |
06/14: gnu: Add rust-strsim-0.10. |
Date: |
Wed, 26 May 2021 09:23:45 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit d45b6d9d58dd2d83d66dd3d5d213f687a0a82a5f
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Wed Apr 28 00:12:25 2021 +0800
gnu: Add rust-strsim-0.10.
* gnu/packages/crates-io.scm (rust-strsim-0.10): New variable.
(rust-strsim-0.9): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7049b91..3bda586 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40413,18 +40413,19 @@ and write it somewhere that does not easily support
them, such as a log
file.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-strsim-0.9
+(define-public rust-strsim-0.10
(package
(name "rust-strsim")
- (version "0.9.3")
+ (version "0.10.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "strsim" version))
- (file-name (string-append name "-" version ".crate"))
- (sha256
- (base32
- "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strsim" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk"))))
(build-system cargo-build-system)
(home-page "https://github.com/dguo/strsim-rs")
(synopsis "Rust implementations of string similarity metrics")
@@ -40433,6 +40434,20 @@ metrics. It includes Hamming, Levenshtein, OSA,
Damerau-Levenshtein, Jaro,
and Jaro-Winkler.")
(license license:expat)))
+(define-public rust-strsim-0.9
+ (package
+ (inherit rust-strsim-0.10)
+ (name "rust-strsim")
+ (version "0.9.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strsim" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))))
+
(define-public rust-strsim-0.8
(package
(inherit rust-strsim-0.9)
- branch master updated (da08378 -> efff3fd), guix-commits, 2021/05/26
- 01/14: gnu: Add rust-ordered-float-2., guix-commits, 2021/05/26
- 02/14: gnu: Add rust-hyphenation-commons-0.8., guix-commits, 2021/05/26
- 05/14: gnu: Add rust-os-str-bytes-2., guix-commits, 2021/05/26
- 03/14: gnu: Add rust-hyphenation-0.8., guix-commits, 2021/05/26
- 09/14: gnu: Add rust-askama-escape-0.10., guix-commits, 2021/05/26
- 08/14: gnu: Add rust-clap-3., guix-commits, 2021/05/26
- 10/14: gnu: Add rust-askama-shared-0.11., guix-commits, 2021/05/26
- 12/14: gnu: Add rust-askama-0.10., guix-commits, 2021/05/26
- 04/14: gnu: Add rust-textwrap-0.12., guix-commits, 2021/05/26
- 06/14: gnu: Add rust-strsim-0.10.,
guix-commits <=
- 14/14: gnu: Add zoxide., guix-commits, 2021/05/26
- 11/14: gnu: Add rust-askama-derive-0.10., guix-commits, 2021/05/26
- 13/14: gnu: Add rust-seq-macro-0.2., guix-commits, 2021/05/26
- 07/14: gnu: Add rust-clap-derive-3., guix-commits, 2021/05/26