diff mbox series

[bug#73094,v2,06/10] gnu: Add rust-derive-builder-0.20.

Message ID 20240908143935.22543-6-ngraves@ngraves.fr
State New
Headers show
Series [bug#73094,v2,01/10] gnu: rust-darling-core-0.20: Update to 0.20.8. | expand

Commit Message

Nicolas Graves Sept. 8, 2024, 2:39 p.m. UTC
* gnu/packages/crates-io.scm (rust-derive-builder-0.20): New variable.
(rust-derive-builder-0.13): Inherit form rust-derive-builder-0.20.

Change-Id: I8d237c591872fd01605cdf73d19bc085b4a7ea6f
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97f955be12..0191793ac0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20554,21 +20554,21 @@  (define-public rust-derive-arbitrary-0.4
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-derive-builder-0.13
+(define-public rust-derive-builder-0.20
   (package
     (name "rust-derive-builder")
-    (version "0.13.1")
+    (version "0.20.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "derive_builder" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg"))))
+                "0yw7frfcgza5rm7f1ckrsy1qy0i6gim3blw12xm186d1wrzg6cyd"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13))
+       (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.20))
        #:cargo-development-inputs
        (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
         ("rust-rustversion" ,rust-rustversion-1)
@@ -20581,6 +20581,28 @@  (define-public rust-derive-builder-0.13
 for arbitrary structs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-derive-builder-0.13
+  (package
+    (inherit rust-derive-builder-0.20)
+    (name "rust-derive-builder")
+    (version "0.13.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "derive_builder" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-trybuild" ,rust-trybuild-1))))))
+
 (define-public rust-derive-builder-0.12
   (package
     (inherit rust-derive-builder-0.13)