From 10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 23 Oct 2019 10:04:29 +0300 Subject: gnu: Add rust-strsim-0.8. * gnu/packages/rust-cbindgen.scm (rust-strsim-0.8): New hidden variable. --- gnu/packages/rust-cbindgen.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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))) -- cgit v1.2.3