diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-02 19:55:43 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:18 +0300 |
commit | 0b91e615e26f73e93337ccde7f30417179d2b424 (patch) | |
tree | 29402af8c15a2ff9c528e0e51eb9335fca8c399c /gnu/packages | |
parent | 1194d502183303b3f6312035887df8257f49ce4a (diff) | |
download | guix-0b91e615e26f73e93337ccde7f30417179d2b424.tar guix-0b91e615e26f73e93337ccde7f30417179d2b424.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8039f0cc3f..92795a32b0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41378,14 +41378,32 @@ notification library.") ("rust-ntest-timeout" ,rust-ntest-timeout-0.8)) #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + +(define-public rust-ntest-test-cases-0.9 + (package + (name "rust-ntest-test-cases") + (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 + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-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.") + (synopsis "Test cases for ntest framework") + (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 @@ -41395,16 +41413,11 @@ enhances the built-in library with some useful features.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "03ip2dpi7fd2wyz99yd17w302nci3b05slbl3rr6dfs2683ayz3g")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/becheran/ntest") - (synopsis "Test cases for ntest framework") - (description "This package provides test cases for ntest framework.") - (license license:expat))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-ntest-timeout-0.8 (package |