summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:53:30 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:45 +0200
commit38ca18711e0d27c2c4d8af97466b6a02cfd413c4 (patch)
tree4e573ea0de52aa1b1d718273ebfdb8cd6be1153b /gnu
parent9841a49c8bee02e1b0240bd6bf5644fce956fa60 (diff)
downloadguix-38ca18711e0d27c2c4d8af97466b6a02cfd413c4.tar.gz
gnu: Add rust-serde-derive-internals-0.26.
* 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
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm42
1 files changed, 30 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78b31e8b43..d84206730a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64313,8 +64313,32 @@ TOML/JSON/MessagePack strings and serializable values.")
         ("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
+     `(#:tests? #f  ; no variant or associated item named `__TestExhaustive`
+       #: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
@@ -64323,19 +64347,13 @@ TOML/JSON/MessagePack strings and serializable values.")
         (uri (crate-uri "serde_derive_internals" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-          (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx"))))
-    (build-system cargo-build-system)
+         (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx"))))
     (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))))
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-serde-ignored-0.1
   (package