From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 50/86] gnu: Add rust-strsim. Date: Tue, 3 Jan 2017 23:36:06 +0000 Message-ID: <20170103233642.3181-51-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYec-0003uT-TP for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYeb-0001iB-LR for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:06 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33444) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYeb-0001gI-ED for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:05 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYea-0002OH-8T for guix-devel@gnu.org; Wed, 04 Jan 2017 00:38:04 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/rust.scm (rust-strsim): New variable. --- gnu/packages/rust.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 98bbe888a..08d168143 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1387,3 +1387,24 @@ does not require unstable language features.") "@code{compiletest-rs} provides the compiletest utility from the Rust compiler as a standalone testing harness.") (license (list license:asl2.0 license:expat)))) + +(define-public rust-strsim + (package + (name "rust-strsim") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "strsim" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "151ngha649cyybr3j50qg331b206zrinxqz7fzw1ra8r0n0mrldl")))) + (build-system cargo-build-system) + (home-page "https://github.com/dguo/strsim-rs") + (synopsis "Implementations of string similarity metrics") + (description + "@code{strsim} provides implementations of string similarity metrics. +Includes Hamming, Levenshtein, Damerau-Levenshtein, Jaro, and Jaro-Winkler.") + (license license:expat))) -- 2.11.0