[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/59: gnu: Add rust-rstest-0.15.
From: |
guix-commits |
Subject: |
11/59: gnu: Add rust-rstest-0.15. |
Date: |
Tue, 29 Nov 2022 16:08:14 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 181f67f488556ab9ee47ab9ae79e910658f8c9ec
Author: ( <paren@disroot.org>
AuthorDate: Tue Nov 29 07:00:25 2022 +0000
gnu: Add rust-rstest-0.15.
* gnu/packages/crates-io.scm (rust-rstest-0.15): New variable.
(rust-rstest-0.10): Inherit from RUST-RSTEST-0.15.
(rust-rstest-0.6): Inherit from RUST-RSTEST-0.10.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
gnu/packages/crates-io.scm | 72 +++++++++++++++++++++++++---------------------
1 file changed, 39 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b659e3e4a..3728b38f2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46770,59 +46770,65 @@ rust.")
(base32
"1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))))
-(define-public rust-rstest-0.6
+(define-public rust-rstest-0.15
(package
(name "rust-rstest")
- (version "0.6.5")
+ (version "0.15.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rstest" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil"))))
+ (base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-rustc-version" ,rust-rustc-version-0.3)
- ("rust-syn" ,rust-syn-1))))
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-timer" ,rust-futures-timer-3)
+ ("rust-rstest-macros" ,rust-rstest-macros-0.14)
+ ("rust-rustc-version" ,rust-rustc-version-0.3))))
(home-page "https://github.com/la10736/rstest")
(synopsis "Rust fixture based test framework")
(description
- "rstest uses procedural macros to help you on writing fixtures and
-table-based tests.")
+ "@code{rstest} uses procedural macros to help you write fixtures
+and table-based tests.")
(license (list license:expat license:asl2.0))))
(define-public rust-rstest-0.10
(package
+ (inherit rust-rstest-0.15)
(name "rust-rstest")
(version "0.10.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "rstest" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1bwhy92fsqc05y8x9iyyq9sykinh0gxnl25zpdca3xhl5hhb06q4"))))
- (build-system cargo-build-system)
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rstest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bwhy92fsqc05y8x9iyyq9sykinh0gxnl25zpdca3xhl5hhb06q4"))))
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-rustc-version" ,rust-rustc-version-0.3)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/la10736/rstest")
- (synopsis "Rust fixture based test framework")
- (description
- "rstest uses procedural macros to help you on writing fixtures and
-table-based tests.")
- (license (list license:expat license:asl2.0))))
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.3)
+ ("rust-syn" ,rust-syn-1))))))
+
+(define-public rust-rstest-0.6
+ (package
+ (inherit rust-rstest-0.10)
+ (name "rust-rstest")
+ (version "0.6.5")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rstest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil"))))))
(define-public rust-rstest-macros-0.14
(package
- branch master updated (aaf1f18b80 -> 1a59231840), guix-commits, 2022/11/29
- 02/59: gnu: Add rust-propfuzz-macro-0.0.1., guix-commits, 2022/11/29
- 04/59: gnu: Add rust-unicode-categories-0.1., guix-commits, 2022/11/29
- 01/59: gnu: Add rust-nix-0.24., guix-commits, 2022/11/29
- 03/59: gnu: Add rust-propfuzz-0.0.1., guix-commits, 2022/11/29
- 06/59: gnu: rust-askama-escape: Update to 0.10.3., guix-commits, 2022/11/29
- 07/59: gnu: Add rust-askama-shared-0.12., guix-commits, 2022/11/29
- 09/59: gnu: Add rust-askama-0.11., guix-commits, 2022/11/29
- 10/59: gnu: Add rust-rstest-macros-0.14., guix-commits, 2022/11/29
- 11/59: gnu: Add rust-rstest-0.15.,
guix-commits <=
- 12/59: gnu: Add rust-parking-lot-0.12., guix-commits, 2022/11/29
- 16/59: gnu: Add rust-windows-aarch64-gnullvm-0.42., guix-commits, 2022/11/29
- 20/59: gnu: Add rust-windows-x86-64-gnu-0.42., guix-commits, 2022/11/29
- 05/59: gnu: Add rust-comrak-0.12., guix-commits, 2022/11/29
- 08/59: gnu: Add rust-askama-derive-0.11., guix-commits, 2022/11/29
- 13/59: gnu: rust-tokio-1: Update to 1.22.0., guix-commits, 2022/11/29
- 15/59: gnu: Add rust-fs-err-2., guix-commits, 2022/11/29
- 19/59: gnu: Add rust-windows-i686-msvc-0.42., guix-commits, 2022/11/29
- 21/59: gnu: Add rust-windows-x86-64-gnullvm-0.42., guix-commits, 2022/11/29
- 23/59: gnu: Add rust-windows-sys-0.42., guix-commits, 2022/11/29