aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust-cbindgen.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:04:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:59 +0300
commit10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d (patch)
treeb871df737e1a95534ddb04fd84f5ede439b8bc84 /gnu/packages/rust-cbindgen.scm
parent1a7e2aa8edfdf7967ec864f17d9e2500dc289065 (diff)
downloadguix-10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d.tar
guix-10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d.tar.gz
gnu: Add rust-strsim-0.8.
* gnu/packages/rust-cbindgen.scm (rust-strsim-0.8): New hidden variable.
Diffstat (limited to 'gnu/packages/rust-cbindgen.scm')
-rw-r--r--gnu/packages/rust-cbindgen.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index dacc33c534..3f76eaa9a6 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -690,3 +690,24 @@ for Windows.")
"This package provides a JSON serialization file format.")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
+
+(define rust-strsim-0.8
+ (package
+ (name "rust-strsim")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strsim" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/dguo/strsim-rs")
+ (synopsis "Rust implementations of string similarity metrics")
+ (description "This crate includes implementations of string similarity
+metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
+and Jaro-Winkler.")
+ (properties '((hidden? . #t)))
+ (license license:expat)))