diff options
author | Steve George <steve@futurile.net> | 2023-10-23 23:21:10 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 14:39:42 +0300 |
commit | 88660d628b857ac12f7a5d7a96cfb70a334a6741 (patch) | |
tree | 11537f0214e0ecc7b12b12b87c148742da26f862 /gnu/packages | |
parent | cb31c29f488f5f34b40e4e185b430d67c24084d2 (diff) | |
download | guix-88660d628b857ac12f7a5d7a96cfb70a334a6741.tar.gz |
gnu: Add rust-option-operations-0.4.
* gnu/packages/crates-io.scm (rust-option-operations-0.4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
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") |