diff mbox series

[bug#74233,rust-team,04/40] gnu: Add rust-option-operations-0.5.

Message ID 6ee089d5e8d39b78a0636587c6064276e6eb30d1.1730926145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 6, 2024, 8:48 p.m. UTC
* gnu/packages/crates-io.scm (rust-option-operations-0.5): New variable;
(rust-option-operations-0.4): inherit from rust-option-operations-0.5.

Change-Id: I2068d7a15ede8564638ea5e73e84b47f11221158
---
 gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55a2203451..b84031ed60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51365,17 +51365,17 @@  (define-public rust-option-ext-0.2
     (description "Extends `Option` with additional operations")
     (license license:mpl2.0)))
 
-(define-public rust-option-operations-0.4
+(define-public rust-option-operations-0.5
   (package
     (name "rust-option-operations")
-    (version "0.4.1")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "option-operations" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+                "1l13n9487gk6063zzjdwzqbig78n8mh6dxsbiq9nbaxfn5xx49kw"))))
     (build-system cargo-build-system)
     (arguments
      (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))
@@ -51386,6 +51386,21 @@  (define-public rust-option-operations-0.4
 usability when dealing with Rust Options.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-option-operations-0.4
+  (package
+    (inherit rust-option-operations-0.5)
+    (name "rust-option-operations")
+    (version "0.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "option-operations" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))))
+
 (define-public rust-option-set-0.2
   (package
     (name "rust-option-set")