From 8f137d38d712165a3a5be8229fce15260727ed1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=96R=C3=96SK=C5=90I=20Andr=C3=A1s?= Date: Sat, 24 Feb 2024 21:39:54 +0100 Subject: [PATCH] gnu: Add rust-strsim-0.11. * gnu/packages/crates-io.scm (rust-strsim-0.11): New variable. (rust-strsim-0.10): Inherit from rust-strsim-0.11. Change-Id: If2a421a7016d9bb5f9bcbf76860fde230cc9ef11 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 70a2a23fd6..07492936dd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71411,19 +71411,17 @@ (define-public rust-strong-xml-derive-0.6 "This package provides a strong typed XML parser, based on xmlparser.") (license license:expat))) -(define-public rust-strsim-0.10 +(define-public rust-strsim-0.11 (package (name "rust-strsim") - (version "0.10.0") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "strsim" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk")))) + (base32 "00gsdp2x1gkkxsbjxgrjyil2hsbdg49bwv8q2y1f406dwk4p7q2y")))) (build-system cargo-build-system) (home-page "https://github.com/dguo/strsim-rs") (synopsis "Rust implementations of string similarity metrics") @@ -71432,6 +71430,19 @@ (define-public rust-strsim-0.10 and Jaro-Winkler.") (license license:expat))) +(define-public rust-strsim-0.10 + (package + (inherit rust-strsim-0.11) + (name "rust-strsim") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "strsim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk")))))) + (define-public rust-strsim-0.9 (package (inherit rust-strsim-0.10)