guix-commits
[Top][All Lists]
Advanced

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

321/409: gnu: Add rust-thiserror-impl-2.


From: guix-commits
Subject: 321/409: gnu: Add rust-thiserror-impl-2.
Date: Thu, 19 Dec 2024 02:22:44 -0500 (EST)

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

commit 39cf38b12a0d69285d1826368c6fbd9e5cc37535
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 9 18:10:25 2024 +0200

    gnu: Add rust-thiserror-impl-2.
    
    * gnu/packages/crates-io.scm (rust-thiserror-impl-2): New variable.
    (rust-thiserror-impl-1): Inherit from rust-thiserror-impl-2.
    
    Change-Id: I61c0f834da4c71df3bb8c4a4e787c12b45cd3662
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6c782a0fd0..9019ef2f51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85658,30 +85658,46 @@ handle Unicode characters correctly.")
     (description "Implementation detail of the @code{thiserror} crate.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-thiserror-impl-1
+(define-public rust-thiserror-impl-2
   (package
     (name "rust-thiserror-impl")
-    (version "1.0.64")
+    (version "2.0.6")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror-impl" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-          "1hvzmjx9iamln854l74qyhs0jl2pg3hhqzpqm9p8gszmf9v4x408"))))
+        (base32 "04k3dz901mymm06j3x6f65hpbsqlk6g51fmiky9g2kqgnk550myn"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-2))))
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
     (home-page "https://github.com/dtolnay/thiserror";)
     (synopsis "Implementation detail of the thiserror crate")
     (description "This package provides an implementation detail of the
 @code{thiserror} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-thiserror-impl-1
+  (package
+    (inherit rust-thiserror-impl-2)
+    (name "rust-thiserror-impl")
+    (version "1.0.64")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "thiserror-impl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hvzmjx9iamln854l74qyhs0jl2pg3hhqzpqm9p8gszmf9v4x408"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-2))))))
+
 (define-public rust-thousands-0.2
   (package
     (name "rust-thousands")



reply via email to

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