Subject: [bug#68312] [PATCH 113/156] gnu: Add rust-serde-derive-internals-0.26.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:30 +0100

* gnu/packages/crates-io.scm (rust-serde-derive-internals-0.26): New variable.
(rust-serde-derive-internals-0.25): Inherit from rust-serde-derive-internals-0.26.

Change-Id: Ib209987713385d1aa2e212479582203b9805b225
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1a407e943d..a1778aa8e56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65823,8 +65823,32 @@ (define-public rust-serde-derive-0.9
         ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14)
         ("rust-syn" ,rust-syn-0.11))))))
 
+(define-public rust-serde-derive-internals-0.26
+  (package
+    (name "rust-serde-derive-internals")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_derive_internals" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0g2zdr6s8i0r29yy7pdl6ahimq8w6ck70hvrciiry2ljwwlq5gw5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://serde.rs")
+    (synopsis "AST representation used by Serde derive macros")
+    (description "This package provides AST representation used by Serde
+derive macros.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-derive-internals-0.25
   (package
+    (inherit rust-serde-derive-internals-0.26)
     (name "rust-serde-derive-internals")
     (version "0.25.0")
     (source
@@ -65834,18 +65858,12 @@ (define-public rust-serde-derive-internals-0.25
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
           (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx"))))
-    (build-system cargo-build-system)
     (arguments
       `(#:skip-build? #t
         #:cargo-inputs
         (("rust-proc-macro2" ,rust-proc-macro2-1)
          ("rust-quote" ,rust-quote-1)
-         ("rust-syn" ,rust-syn-1))))
-    (home-page "https://serde.rs")
-    (synopsis "AST representation used by Serde derive macros")
-    (description "This package provides AST representation used by Serde
-derive macros.")
-    (license (list license:expat license:asl2.0))))
+         ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-serde-ignored-0.1
   (package
-- 
2.41.0