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>
This commit is contained in:
John Soo 2019-12-14 14:22:23 -08:00 committed by Efraim Flashner
parent bec483dff1
commit dd0caa8781
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4915,6 +4915,33 @@ (define-public rust-sourcefile-0.1
(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")