gnu: Add rust-assert-approx-eq.
* gnu/packages/crates-io.scm (rust-assert-approx-eq-1): New variable.
This commit is contained in:
parent
455b5e2b69
commit
282d4e6bea
1 changed files with 21 additions and 0 deletions
|
@ -3860,6 +3860,27 @@ (define-public rust-assert-0.7
|
|||
(description "This package provides assertions for testing.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-assert-approx-eq-1
|
||||
(package
|
||||
(name "rust-assert-approx-eq")
|
||||
(version "1.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "assert_approx_eq" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1zagfwfad5wssmr830gk3489f97ppczv6xs627jxniwm6ssdl1rw"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments '(#:skip-build? #t))
|
||||
(home-page "https://github.com/ashleygwilliams/assert_approx_eq")
|
||||
(synopsis "Assert approximately equal")
|
||||
(description
|
||||
"This package provides a Rust macro for asserting two numbers are
|
||||
approximately equal.")
|
||||
;; Either license can be chosen at the users option.
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-assert-cli-0.6
|
||||
(package
|
||||
(name "rust-assert-cli")
|
||||
|
|
Loading…
Reference in a new issue