summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-22 20:54:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:11 +0300
commite95cceb84c5f0d21f6357becadb92794b836c049 (patch)
tree79ec8417c4ee3835ae565f32d8013338b4a542e0 /gnu/packages/crates-io.scm
parent5f3febe91f6356fce0edc4cfe9ebb5d55a4206c8 (diff)
gnu: Add rust-ntest-0.8.
* gnu/packages/crates-io.scm (rust-ntest-0.8): New variable. (rust-ntest-0.3): Inherit from rust-ntest-0.8.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d07528653..8f2196e548 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37853,8 +37853,35 @@ with all line endings.")
(description "FFI bindings for Native API")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ntest-0.8
+ (package
+ (name "rust-ntest")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ntest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yyih3b0bcr9gj11m9xj330as2sjihblkmb2bmv10lp38q5m0rg8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.8)
+ ("rust-ntest-test-cases" ,rust-ntest-test-cases-0.8)
+ ("rust-ntest-timeout" ,rust-ntest-timeout-0.8))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/becheran/ntest")
+ (synopsis "Testing framework for Rust")
+ (description "This package provides a testing framework for Rust which
+enhances the built-in library with some useful features.")
+ (license license:expat)))
+
(define-public rust-ntest-0.3
(package
+ (inherit rust-ntest-0.8)
(name "rust-ntest")
(version "0.3.3")
(source
@@ -37865,7 +37892,6 @@ with all line endings.")
(sha256
(base32
"04cljndihkcqqwj061bgpnxyv7wqbd3f91ag1b3ryrayn7rrclxv"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3)
@@ -37874,12 +37900,7 @@ with all line endings.")
#:cargo-development-inputs
(("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3)
("rust-ntest-timeout" ,rust-ntest-timeout-0.3)
- ("rust-timebomb" ,rust-timebomb-0.1))))
- (home-page "https://github.com/becheran/ntest")
- (synopsis "Testing framework for Rust")
- (description "This package provides a testing framework for Rust which
-enhances the built-in library with some useful features.")
- (license license:expat)))
+ ("rust-timebomb" ,rust-timebomb-0.1))))))
(define-public rust-ntest-test-cases-0.3
(package