guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/135: gnu: Add rust-strum-macros-0.26.


From: guix-commits
Subject: 31/135: gnu: Add rust-strum-macros-0.26.
Date: Wed, 27 Mar 2024 04:54:46 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f9479af33f0e6aa17ed398d473912c2b46e135ea
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:34 2024 +0100

    gnu: Add rust-strum-macros-0.26.
    
    * gnu/packages/crates-io.scm (rust-strum-macros-0.26): New variable.
    (rust-strum-macros-0.25): Inherit from rust-strum-macros-0.26.
    
    Change-Id: I855f289bed17e41d8f199eb68fd89bd003078df4
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22d91efaba..b83f2d932b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71522,31 +71522,54 @@ easier in Rust.")
      `(#:cargo-inputs
        (("rust-strum-macros" ,rust-strum-macros-0.18))))))
 
-(define-public rust-strum-macros-0.25
+(define-public rust-strum-macros-0.26
   (package
     (name "rust-strum-macros")
-    (version "0.25.3")
+    (version "0.26.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strum_macros" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "184y62g474zqb2f7n16x3ghvlyjbh50viw32p9w9l5lwmjlizp13"))))
+        (base32 "066dsk2f1psyyjllr1yc50251jvpjyh585m0fkcl0rypjgy1fd3s"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=enum_discriminants"
+                            "--skip=static_variants_array")
+       #:cargo-inputs (("rust-heck" ,rust-heck-0.4)
                        ("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-rustversion" ,rust-rustversion-1)
                        ("rust-syn" ,rust-syn-2))
-       #:cargo-development-inputs (("rust-strum" ,rust-strum-0.25))))
+       #:cargo-development-inputs (("rust-strum" ,rust-strum-0.26))))
     (home-page "https://github.com/Peternator7/strum";)
     (synopsis "Set of macros for working with enums and strings")
     (description
      "This crate provides helpful macros for working with enums and strings.")
     (license license:expat)))
 
+(define-public rust-strum-macros-0.25
+  (package
+    (inherit rust-strum-macros-0.26)
+    (name "rust-strum-macros")
+    (version "0.25.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "184y62g474zqb2f7n16x3ghvlyjbh50viw32p9w9l5lwmjlizp13"))))
+    (arguments
+     `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-rustversion" ,rust-rustversion-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("rust-strum" ,rust-strum-0.25))))))
+
 (define-public rust-strum-macros-0.24
   (package
     (inherit rust-strum-macros-0.25)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]