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.
This commit is contained in:
Efraim Flashner 2023-02-22 20:54:31 +02:00
parent 5f3febe91f
commit e95cceb84c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -37853,8 +37853,35 @@ (define-public rust-ntapi-0.3
(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 @@ (define-public rust-ntest-0.3
(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 @@ (define-public rust-ntest-0.3
#: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