From 4b9279696658a2daffef696297d0798067718340 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 8 Jun 2021 10:24:32 +0200 Subject: gnu: Add rust-similar-1. * gnu/packages/crates-io.scm (rust-similar-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d1a326af01..d2dae03e89 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39943,6 +39943,29 @@ (define-public rust-simd-helpers-0.1 "This package provides helpers to write more compact simd code.") (license license:expat))) +(define-public rust-similar-1 + (package + (name "rust-similar") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "similar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v4ara277c2s8gcv821b9392ki5zzw95brfs8vy3bcjpln4d9l8s")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bstr" ,rust-bstr-0.2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page + "https://github.com/mitsuhiko/similar") + (synopsis "Diff library for Rust") + (description "This package provides a diff library for Rust.") + (license license:asl2.0))) + (define-public rust-simple-mutex-1 (package (name "rust-simple-mutex") -- cgit v1.2.3