diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-18 22:04:22 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-19 22:33:20 +0200 |
commit | 34d0c1e7dd25acc43385f4cb91b928b437503a9d (patch) | |
tree | 662e95a6e5c91f571c95d74a4b40cbaa7f1f8070 /gnu | |
parent | f06961ea356352565c840e77d71b3a0028e45bd0 (diff) | |
download | guix-34d0c1e7dd25acc43385f4cb91b928b437503a9d.tar guix-34d0c1e7dd25acc43385f4cb91b928b437503a9d.tar.gz |
gnu: Add rust-edit-distance-2.1.
* gnu/packages/crates-io.scm (rust-edit-distance-2.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5a099b0ed0..071e2619fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4175,6 +4175,29 @@ floating-point primitives to an @code{io::Write}.") "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) +(define-public rust-edit-distance-2.1 + (package + (name "rust-edit-distance") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "edit-distance" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yq3wlmd7ly22qxhfysi77qp31yvpx2ll9waa75bkpiih7rsmfmv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.9)))) + (home-page "https://github.com/febeling/edit-distance") + (synopsis "Levenshtein edit distance between strings") + (description + "Levenshtein edit distance between strings, a measure for similarity.") + (license license:asl2.0))) + (define-public rust-either-1.5 (package (name "rust-either") |