summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 19:40:47 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:34 +0200
commit688ac26a850c8b048438b1d63332e2810d68136e (patch)
tree9b3b186954675007bdf94962cfc1aba34a2678d4
parenta68b5dc3792fe93695cf95238a4284c0f74f5baf (diff)
gnu: Add rust-difference-2.0.
* gnu/packages/crates-io.scm (rust-difference-2.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f5766813d..455504ea4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1643,6 +1643,33 @@ hexadecimal, base32, and base64.")
"An LCS based slice and string diffing implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-difference-2.0
+ (package
+ (name "rust-difference")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "difference" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1621wx4k8h452p6xzmzzvm7mz87kxh4yqz0kzxfjj9xmjxlbyk2j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-getopts" ,rust-getopts-0.2))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-term" ,rust-term-0.5))))
+ (home-page "https://github.com/johannhof/difference.rs")
+ (synopsis "Rust text diffing and assertion library")
+ (description
+ "This package provides a Rust text diffing and assertion library.")
+ (license license:expat)))
+
(define-public rust-dirs-1.0
(package
(name "rust-dirs")