guix-commits
[Top][All Lists]
Advanced

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

32/135: gnu: Add rust-strum-0.26.


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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b83f2d932b..a0402459e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71408,25 +71408,26 @@ struct.")
      "Parse command line argument by defining a struct, derive crate.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-strum-0.25
+(define-public rust-strum-0.26
   (package
     (name "rust-strum")
-    (version "0.25.0")
+    (version "0.26.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strum" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399"))))
+        (base32 "0przl5xmy1gzf4rlp8ff7wla43slsyk1vlg2xdjsk6nzmpl96fvj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; unresolved import `strum::EnumIter`
-       #:cargo-inputs
-       (("rust-phf" ,rust-phf-0.10)
-        ("rust-strum-macros" ,rust-strum-macros-0.25))
-       #:cargo-development-inputs
-       (("rust-strum-macros" ,rust-strum-macros-0.25))))
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=EnumMessage"
+                            "--skip=EnumProperty"
+                            "--skip=EnumIterator")
+       #:cargo-inputs (("rust-phf" ,rust-phf-0.10)
+                       ("rust-strum-macros" ,rust-strum-macros-0.26))
+       #:cargo-development-inputs (("rust-strum-macros" 
,rust-strum-macros-0.26))))
     (home-page "https://github.com/Peternator7/strum";)
     (synopsis "Set of traits for working with enums and strings")
     (description
@@ -71434,6 +71435,24 @@ struct.")
 easier in Rust.")
     (license license:expat)))
 
+(define-public rust-strum-0.25
+  (package
+    (inherit rust-strum-0.26)
+    (name "rust-strum")
+    (version "0.25.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399"))))
+    (arguments
+     `(#:tests? #f  ; unresolved import `strum::EnumIter`
+       #:cargo-inputs (("rust-phf" ,rust-phf-0.10)
+                       ("rust-strum-macros" ,rust-strum-macros-0.25))
+       #:cargo-development-inputs (("rust-strum-macros" 
,rust-strum-macros-0.25))))))
+
 (define-public rust-strum-0.24
   (package
     (inherit rust-strum-0.25)



reply via email to

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