diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 14:06:12 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:31 +0300 |
commit | 3ded5e3f70fe731624eab56edb396909e72e727e (patch) | |
tree | ed3b2bbc286a97628a620225f129dd8649b573f3 /gnu/packages | |
parent | 0d601e3860eba0a12ba5150153e41facc10fed34 (diff) |
gnu: Add rust-strsim.
* gnu/packages/crates-io.scm (rust-strsim): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 21c150c008..ead750fe7d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -720,6 +720,26 @@ crate.") (license (list license:asl2.0 license:expat)))) +(define-public rust-strsim + (package + (name "rust-strsim") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "strsim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03")))) + (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.") + (license license:expat))) + (define-public rust-unicode-xid (package (name "rust-unicode-xid") |