efraim pushed a commit to branch rust-team in repository guix. commit 1da20ffb7e283f7d9ba548983fb0d529a246632e Author: Giacomo Leidi <goodoldp...@autistici.org> AuthorDate: Thu Nov 7 23:21:49 2024 +0100
gnu: Add rust-option-operations-0.5. * 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 Signed-off-by: Efraim Flashner <efr...@flashner.co.il> --- gnu/packages/crates-io.scm | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 80753df9a5..97e90282c8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51234,17 +51234,17 @@ framework.") (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)))) @@ -51255,6 +51255,21 @@ framework.") 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")