aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-24 22:38:21 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:17 +0200
commit9a0e2bfffd6e21943e9548749c42de567d73628b (patch)
tree2396fa08b1c9522e012cc6a663e13c214173ba29
parent982bb7d0fb56737b597882f6dcb7e851e52fe681 (diff)
downloadguix-9a0e2bfffd6e21943e9548749c42de567d73628b.tar
guix-9a0e2bfffd6e21943e9548749c42de567d73628b.tar.gz
gnu: Add rust-difference-1.
* gnu/packages/crates-io.scm (rust-difference-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af3e10ece5..f234a9134b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5054,6 +5054,24 @@ structs and enums.")
"This package provides a Rust text diffing and assertion library.")
(license license:expat)))
+(define-public rust-difference-1
+ (package/inherit rust-difference-2.0
+ (name "rust-difference")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "difference" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a5v0b73z7vywbclll32wjsfkdgh6wn9prnq91z0d3lag4clsc5k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-getopts" ,rust-getopts-0.2))
+ #:cargo-development-inputs
+ (("rust-term" ,rust-term-0.2))))))
+
(define-public rust-digest-0.8
(package
(name "rust-digest")