summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 14:22:23 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:20 +0200
commitdd0caa87813c3bd177b3c70319360b4f67f28790 (patch)
tree656c641be1f3f2ed5add0529789fcaf21bbbd966
parentbec483dff1aebd593a807b6bf9d551219751caab (diff)
gnu: Add rust-speculate-0.1.
* gnu/packages/crates-io.scm (rust-speculate-0.1): 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 5d9f354734..47734e7c21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4915,6 +4915,33 @@ track of where each new file and line starts.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-speculate-0.1
+ (package
+ (name "rust-speculate")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "speculate" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ph01n3fqkmnfr1wd13dqsi4znv06xy6p4h3hqqdzk81r0r5vd1w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-0.15)
+ ("rust-unicode-xid" ,rust-unicode-xid-0.1))))
+ (home-page "https://github.com/utkarshkukreti/speculate.rs")
+ (synopsis "RSpec inspired testing framework for Rust")
+ (description
+ "An RSpec inspired minimal testing framework for Rust.")
+ (license license:expat)))
+
(define-public rust-spin-0.5
(package
(name "rust-spin")