From 88660d628b857ac12f7a5d7a96cfb70a334a6741 Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:10 +0100 Subject: gnu: Add rust-option-operations-0.4. * gnu/packages/crates-io.scm (rust-option-operations-0.4): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b094d88c43..c112038561 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47070,6 +47070,27 @@ system for OpenSSL.") (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") -- cgit v1.2.3