guix-commits
[Top][All Lists]
Advanced

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

170/281: gnu: Add rust-enum-as-inner-0.5.


From: guix-commits
Subject: 170/281: gnu: Add rust-enum-as-inner-0.5.
Date: Wed, 22 Feb 2023 05:41:10 -0500 (EST)

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

commit a128d47e089750aeb3894ff0b2bbe8012135a243
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 10:47:15 2023 +0200

    gnu: Add rust-enum-as-inner-0.5.
    
    * gnu/packages/crates-io.scm (rust-enum-as-inner-0.5): New variable.
    (rust-enum-as-inner-0.3): Inherit from rust-enum-as-inner-0.5.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ab1f7fd04d..75611dc870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19620,22 +19620,21 @@ unescapes strings.")
 from HTML entities.")
     (license license:expat)))
 
-(define-public rust-enum-as-inner-0.3
+(define-public rust-enum-as-inner-0.5
   (package
     (name "rust-enum-as-inner")
-    (version "0.3.3")
+    (version "0.5.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "enum-as-inner" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "15gmpgywijda93lkq7hf2y53h66sqkhzabzbxich288xm6b00pvw"))))
+        (base32 "05m1frlkgrikja714zxb97i00rhj36zlifiwiby7ymkx0jx0nwn9"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-heck" ,rust-heck-0.3)
+       (("rust-heck" ,rust-heck-0.4)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))
@@ -19645,6 +19644,26 @@ from HTML entities.")
 accessor functions on enums.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-enum-as-inner-0.3
+  (package
+    (inherit rust-enum-as-inner-0.5)
+    (name "rust-enum-as-inner")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "enum-as-inner" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15gmpgywijda93lkq7hf2y53h66sqkhzabzbxich288xm6b00pvw"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-enum-as-inner-0.2
   (package
     (inherit rust-enum-as-inner-0.3)



reply via email to

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