[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74232] [PATCH rust-team 06/25] gnu: Add rust-flaky-test-0.2.
From: |
Giacomo Leidi |
Subject: |
[bug#74232] [PATCH rust-team 06/25] gnu: Add rust-flaky-test-0.2. |
Date: |
Wed, 6 Nov 2024 21:42:52 +0100 |
rust-flaky-test-0.2 and rust-flaky-test-impl-0.2 are mutally dependents,
so this patch introduces both instead of the usual pattern of one
package per commit
* gnu/packages/crates-io.scm (rust-flaky-test-0.2): New variable;
(rust-flaky-test-impl-0.2): new variable;
(rust-flaky-test-0.1): inherit from rust-flaky-test-0.2.
Change-Id: I4d4aa0f79fe19290003b9100c98dd56fcb50b862
---
gnu/packages/crates-io.scm | 58 ++++++++++++++++++++++++++++++++++----
1 file changed, 52 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 794afa90f8..1b67dc047d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27506,29 +27506,75 @@ (define-public rust-flagset-0.4
enumeration-based bit flags in rust.")
(license license:asl2.0)))
-(define-public rust-flaky-test-0.1
+(define-public rust-flaky-test-impl-0.2
+ (package
+ (name "rust-flaky-test-impl")
+ (version "0.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "flaky_test_impl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1glshs6wa5n229d4abqzijssy4nslyaiw3xlwpd2ymghq84mkqw5"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Tests fail with
+ ;; 3 | use flaky_test::flaky_test;
+ ;; | ^^^^^^^^^^ use of undeclared crate or module `flaky_test`
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-flaky-test" ,rust-flaky-test-0.2))))
+ (home-page "https://github.com/denoland/flaky_test")
+ (synopsis "Implementation details of the @code{flaky_test} macro")
+ (description "This package provides mplementation details of the
+@code{flaky_test} macro.")
+ (license license:expat)))
+
+(define-public rust-flaky-test-0.2
(package
(name "rust-flaky-test")
- (version "0.1.0")
+ (version "0.2.2")
(source (origin
(method url-fetch)
(uri (crate-uri "flaky_test" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727"))))
+ "1nn8hddhl2vaxgfn0j87yrngr9bzlxlncgdd9vy53xyp4cgslv04"))))
(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))))
+ (("rust-flaky-test-impl" ,rust-flaky-test-impl-0.2)
+ ("rust-future-utils" ,rust-futures-util-0.3))))
(home-page "https://github.com/denoland/flaky_test")
(synopsis "Atttribute macro for running a flaky test multiple times")
(description "This package provides an atttribute macro for running a flaky
test multiple times.")
(license license:expat)))
+(define-public rust-flaky-test-0.1
+ (package
+ (inherit rust-flaky-test-0.2)
+ (name "rust-flaky-test")
+ (version "0.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "flaky_test" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-flame-0.2
(package
(name "rust-flame")
--
2.46.0
- [bug#74232] [PATCH rust-team] Add rust-zbus-4, paul, 2024/11/06
- [bug#74232] [PATCH rust-team 01/25] gnu: rust-portable-atomic-util: Update to 0.2.3., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 20/25] gnu: Add rust-async-executor-1.11., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 06/25] gnu: Add rust-flaky-test-0.2.,
Giacomo Leidi <=
- [bug#74232] [PATCH rust-team 02/25] gnu: Add rust-event-listener-5., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 16/25] gnu: Add rust-uuid-macro-internal-1.8., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 23/25] gnu: Add rust-zbus-xml-4., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 18/25] gnu: Add rust-zvariant-4., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 05/25] gnu: Add rust-async-fs-2., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 10/25] gnu: Add rust-tokio-vsock-0.4., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 03/25] gnu: Add rust-event-listener-strategy-0.5., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 13/25] gnu: Add rust-zbus-macros-4., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 12/25] gnu: Add rust-zvariant-utils-2., Giacomo Leidi, 2024/11/06
- [bug#74232] [PATCH rust-team 22/25] gnu: Add rust-xdg-home-1.1., Giacomo Leidi, 2024/11/06