gnu: Add rust-edit-distance-2.1.

* gnu/packages/crates-io.scm (rust-edit-distance-2.1): New variable.
This commit is contained in:
Efraim Flashner 2020-03-18 22:04:22 +02:00
parent f06961ea35
commit 34d0c1e7dd
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4175,6 +4175,29 @@ (define-public rust-dwrote-0.9
"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")