aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-08 10:24:32 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-08 11:04:41 +0200
commit4b9279696658a2daffef696297d0798067718340 (patch)
tree9aeee394c18b607045077dd30cee928df1463213
parent26acfd49973666095bb190e6b5aea8fd8db2c495 (diff)
downloadguix-4b9279696658a2daffef696297d0798067718340.tar
guix-4b9279696658a2daffef696297d0798067718340.tar.gz
gnu: Add rust-similar-1.
* gnu/packages/crates-io.scm (rust-similar-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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 @@ CPUs, as well as raw interfaces to platform-specific instructions.
"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")