diff options
author | Sergio Pastor Pérez <sergio.pastorperez@outlook.es> | 2023-11-28 22:11:58 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:43 +0200 |
commit | 925c47f65a37ac0be9ea1cbd8f854b34a43720fb (patch) | |
tree | 3b12f3e41ba495ca5b51f3f933369883f5b09110 /gnu/packages | |
parent | b203f47639f46e9a90567f062d1e42f9cc01f9c2 (diff) | |
download | guix-925c47f65a37ac0be9ea1cbd8f854b34a43720fb.tar.gz |
gnu: Add rust-rstest-macros-0.17.
* gnu/packages/crates-io.scm (rust-rstest-macros-0.17): New variable. Change-Id: I4bd4edfcb88347df970fc7550ca7e9d2c31f226e Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7251498aeb..866ffd210a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu> ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 Sergio Pastor Pérez <sergio.pastorperez@outlook.es> ;;; ;;; This file is part of GNU Guix. ;;; @@ -65861,8 +65862,36 @@ and table-based tests.") (base32 "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil")))))) +(define-public rust-rstest-macros-0.17 + (package + (name "rust-rstest-macros") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; requires rust-artix-rt@2.7.0 + #: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.4) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-ident" ,rust-unicode-ident-1)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Procedural macros for @code{rstest}.") + (description + "This package provides the procedural macro crate for +@code{rstest}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rstest-macros-0.14 (package + (inherit rust-rstest-macros-0.17) (name "rust-rstest-macros") (version "0.14.0") (source (origin @@ -65872,7 +65901,6 @@ and table-based tests.") (sha256 (base32 "0rlwp3r1dg3fl4f100wjd3ya7dhs23vpyqgf7vg5mac50s5fc5ah")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs @@ -65880,13 +65908,7 @@ and table-based tests.") ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Procedural macros for @code{rstest}.") - (description - "This package provides the procedural macro crate for -@code{rstest}.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-macros-0.13 (package |