gnu: Add rust-ntest-test-cases-0.9.

* gnu/packages/crates-io.scm (rust-ntest-test-cases-0.9): New variable.
(rust-ntest-test-cases-0.8): Inherit from rust-ntest-test-cases-0.9.
This commit is contained in:
Efraim Flashner 2023-08-02 19:55:43 +03:00
parent 1194d50218
commit 0b91e615e2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -41378,23 +41378,18 @@ (define-public rust-ntest-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-test-cases-0.8
(define-public rust-ntest-test-cases-0.9
(package
(name "rust-ntest-test-cases")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ntest_test_cases" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03ip2dpi7fd2wyz99yd17w302nci3b05slbl3rr6dfs2683ayz3g"))))
(version "0.9.0")
(source (origin
(method url-fetch)
(uri (crate-uri "ntest-test-cases" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"08ifw9zhm1l93wh24k8zrk25sj3k9vpw29sfwq4lsvwwf6z36zdy"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@ -41406,6 +41401,24 @@ (define-public rust-ntest-test-cases-0.8
(description "This package provides test cases for ntest framework.")
(license license:expat)))
(define-public rust-ntest-test-cases-0.8
(package
(inherit rust-ntest-test-cases-0.9)
(name "rust-ntest-test-cases")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ntest_test_cases" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03ip2dpi7fd2wyz99yd17w302nci3b05slbl3rr6dfs2683ayz3g"))))
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-ntest-timeout-0.8
(package
(name "rust-ntest-timeout")