unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67919@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67919] [PATCH 22/55] gnu: Add rust-rstest-macros-0.18.
Date: Tue, 19 Dec 2023 22:54:44 -0500	[thread overview]
Message-ID: <b249c75f8b0d868bc41a7ab1007af913b1948b54.1703044082.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703044079.git.jaeme@runbox.com>

The dependency graph for rstest is not required.

* gnu/packages/crates-io.scm (rust-rstest-macros-0.18): New variable.
* gnu/packages/crates-io.scm (rust-rstest-macros-0.16): Remove build step.

Change-Id: I3dad2b73c27a4cf575698ca9e32715718667be81
---
 gnu/packages/crates-io.scm | 89 ++++++++++++++++++++++++++------------
 1 file changed, 62 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 888fd80bd6..4c2cde2b02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63958,8 +63958,39 @@ (define-public rust-rstest-0.6
                (base32
                 "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y"))))))
 
+(define-public rust-rstest-macros-0.18
+  (package
+    (name "rust-rstest-macros")
+    (version "0.18.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rstest_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-relative-path" ,rust-relative-path-1)
+                       ("rust-rustc-version" ,rust-rustc-version-0.4)
+                       ("rust-syn" ,rust-syn-2)
+                       ("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.16
   (package
+    (inherit rust-rstest-macros-0.18)
     (name "rust-rstest-macros")
     (version "0.16.0")
     (source
@@ -63969,31 +64000,15 @@ (define-public rust-rstest-macros-0.16
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xzrgwjih87myghqzm9ncqm0449y2sf4migz6x7yc1h7mq2vaabj"))))
-    (build-system cargo-build-system)
     (arguments
-     `(#:cargo-test-flags '("--release" "--"
-                            "--skip=rstest (line 740)"
-                            "--skip=rstest (line 764)")
+     `(#: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.4)
         ("rust-syn" ,rust-syn-1)
-        ("rust-unicode-ident" ,rust-unicode-ident-1))
-       #:cargo-development-inputs
-       (("rust-actix-rt" ,rust-actix-rt-2)
-        ("rust-async-std" ,rust-async-std-1)
-        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
-        ("rust-rstest" ,rust-rstest-0.15)
-        ("rust-rstest-reuse" ,rust-rstest-reuse-0.4)
-        ("rust-rstest-test" ,rust-rstest-test-0.9))))
-    (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-unicode-ident" ,rust-unicode-ident-1))))))
 
 (define-public rust-rstest-macros-0.14
   (package
@@ -64037,8 +64052,36 @@ (define-public rust-rstest-macros-0.13
         ("rust-rustc-version" ,rust-rustc-version-0.4)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-rstest-reuse-0.6
+  (package
+    (name "rust-rstest-reuse")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rstest_reuse" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "191l5gfwx9rmkqd48s85fkh21b73f38838fc896r4rxy39l0nlw8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-quote" ,rust-quote-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rustc-version" ,rust-rustc-version-0.4)
+        ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/la10736/rstest")
+    (synopsis "Reuse rstest attributes")
+    (description
+     "This package provides a Rust library for reusing rstest
+attributes by creating a set of tests and applying it to every
+scenario you want to test.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rstest-reuse-0.4
   (package
+    (inherit rust-rstest-reuse-0.6)
     (name "rust-rstest-reuse")
     (version "0.4.0")
     (source (origin
@@ -64048,20 +64091,12 @@ (define-public rust-rstest-reuse-0.4
               (sha256
                (base32
                 "05zcs22fbvv7q50p2xs6w13lqbcklddnj2dm1mz1wi2pak9sxdgr"))))
-    (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t
            #:cargo-inputs
            `(("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 "Reuse rstest attributes")
-    (description
-     "This package provides a Rust library for reusing rstest
-attributes by creating a set of tests and applying it to every
-scenario you want to test.")
-    (license (list license:expat license:asl2.0))))
+             ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-rstest-reuse-0.3
   (package
-- 
2.41.0





  parent reply	other threads:[~2023-12-20  4:06 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  3:48 [bug#67919] [PATCH 00/55 rust-team] gnu: eza: Update to 0.17.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 01/55] gnu: Add rust-windows-x86-64-msvc-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 02/55] gnu: Add rust-windows-x86-64-gnullvm-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 03/55] gnu: Add rust-windows-x86-64-gnu-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 04/55] gnu: Add rust-windows-i686-msvc-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 05/55] gnu: Add rust-windows-i686-gnu-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 06/55] gnu: Add rust-windows-aarch64-msvc-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 07/55] gnu: Add rust-windows-aarch64-gnullvm-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 08/55] gnu: Add rust-windows-targets-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 09/55] gnu: Add rust-windows-sys-0.52 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 10/55] gnu: rust-uniquote-3: Update to 0.1.11 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 11/55] gnu: Add rust-toml-edit-0.1 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 12/55] gnu: Add rust-rstest-test-0.2 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 13/55] gnu: Add rust-rstest-reuse-0.1 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 14/55] gnu: Add rust-rstest-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 15/55] gnu: Add rust-rstest-0.8 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 16/55] gnu: Add rust-rstest-0.9 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 17/55] gnu: rust-rstest-0.6: Downgrade to 0.6.4 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 18/55] gnu: Add rust-rstest-test-0.9 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 19/55] gnu: Add rust-rstest-macros-0.16 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 20/55] gnu: Add rust-rstest-0.16 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 21/55] gnu: Add rust-rstest-test-0.11 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-20  3:54 ` [bug#67919] [PATCH 23/55] gnu: Add rust-rstest-0.18 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 24/55] gnu: rust-time-core-0.1: Update to 0.1.2 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 25/55] gnu: rust-time-macros-0.2: Update to 0.2.15 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 26/55] gnu: rust-time-0.3: Update to 0.3.30 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 27/55] gnu: Add rust-quick-xml-0.31 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 28/55] gnu: Add rust-elain-0.3 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 29/55] gnu: Add rust-zerocopy-derive-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 30/55] gnu: rust-zerocopy-derive-0.3: Add build step Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 31/55] gnu: rust-zerocopy-derive-0.2: Downgrade to 0.2.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 32/55] gnu: Add rust-zerocopy-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 33/55] gnu: rust-ahash-0.8: Update to 0.8.6 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 34/55] gnu: rust-hashbrown-0.14: Update to 0.14.3 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 35/55] gnu: rust-indexmap-2: Update to 2.1.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 36/55] gnu: rust-plist-1: Update to 1.6.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:54 ` [bug#67919] [PATCH 37/55] gnu: rust-percent-encoding-2: Update to 2.3.1 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 38/55] gnu: Add rust-generic-array-0.11 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 39/55] gnu: Add rust-alga-derive-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 40/55] gnu: Add rust-alga-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 41/55] gnu: Add rust-abomonation-0.5 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 42/55] gnu: Add rust-nalgebra-0.16 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 43/55] gnu: Add rust-scad-1 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 44/55] gnu: Add rust-rand-mt-4 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 45/55] gnu: Add rust-topology-traits-0.1 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 46/55] gnu: Add rust-assert-float-eq-1 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 47/55] gnu: Add rust-enterpolation-0.2 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 48/55] gnu: Add rust-find-crate-0.6 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 49/55] gnu: Add rust-palette-derive-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 50/55] gnu: Add rust-fast-srgb8-1 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 51/55] gnu: Add rust-palette-0.7 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 52/55] gnu: rust-once-cell-1: Update to 1.19.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 53/55] gnu: eza: Update to 0.17.0 Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 54/55] gnu: Remove exa Jaeme Sifat via Guix-patches via
2023-12-20  3:55 ` [bug#67919] [PATCH 55/55] gnu: eza: Refactor package definition Jaeme Sifat via Guix-patches via
2023-12-26 11:45 ` bug#67919: [PATCH 00/55 rust-team] gnu: eza: Update to 0.17.0 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b249c75f8b0d868bc41a7ab1007af913b1948b54.1703044082.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=67919@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).