diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 16:08:09 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 17:40:46 +0300 |
commit | 1374b93a5299abc208f99561ed09a63acfe75ca7 (patch) | |
tree | 74cc829c02a8f229ec1bed16196ea0e8fa5a9480 /gnu | |
parent | 9867038f31f1b612514940c5c849f870a118a866 (diff) |
gnu: Add rust-libtest-mimic-0.5.
* gnu/packages/crates-io.scm (rust-libtest-mimic-0.5): New variable.
(rust-libtest-mimic-0.3): Inherit from rust-libtest-mimic-0.5.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 79b352d541..93b64bb83f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30935,24 +30935,26 @@ punctuation.") (license (list license:asl2.0 license:expat)))) -(define-public rust-libtest-mimic-0.3 +(define-public rust-libtest-mimic-0.5 (package (name "rust-libtest-mimic") - (version "0.3.0") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "libtest-mimic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8")))) + "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) - ("rust-rayon" ,rust-rayon-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-termcolor" ,rust-termcolor-1)))) + (("rust-clap" ,rust-clap-3) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-threadpool" ,rust-threadpool-1)) + #:cargo-development-inputs + (("rust-fastrand" ,rust-fastrand-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://github.com/LukasKalbertodt/libtest-mimic") (synopsis "Tools for writing a test harness") (description @@ -30960,6 +30962,25 @@ punctuation.") harness used by @code{rustc --test}.") (license (list license:expat license:asl2.0)))) +(define-public rust-libtest-mimic-0.3 + (package + (inherit rust-libtest-mimic-0.5) + (name "rust-libtest-mimic") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8")))) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-termcolor" ,rust-termcolor-1)))))) + (define-public rust-locale-0.2 (package (name "rust-locale") |