Subject: [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:21:10 +0100

* gnu/packages/crates-io.scm (rust-option-operations-0.4): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 93c9dfee10..9cf11d32cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47065,6 +47065,27 @@ (define-public rust-option-ext-0.2
     (description "Extends `Option` with additional operations")
     (license license:mpl2.0)))
 
+(define-public rust-option-operations-0.4
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))
+    (home-page "https://github.com/fengalin/option-operations")
+    (synopsis "Improved arithmetic operations when dealing with Rust Options")
+    (description
+     "Traits and auto-implementations to improve arithmetic operations
+usability when dealing with Rust Options.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-option-set-0.2
   (package
     (name "rust-option-set")
-- 
2.41.0