diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 16:02:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 17:40:44 +0300 |
commit | 5f5b74fde21bbd6e3578679dee88bc17e27a8d28 (patch) | |
tree | 4f8c19c20bcdb54cf10520c57f3bbbfab9b40f47 | |
parent | d57ce8d4efe2d56e7d862baf725fc9c83670c7fa (diff) | |
download | guix-5f5b74fde21bbd6e3578679dee88bc17e27a8d28.tar guix-5f5b74fde21bbd6e3578679dee88bc17e27a8d28.tar.gz |
gnu: Add rust-derive-builder-0.11.
* gnu/packages/crates-io.scm (rust-derive-builder-0.11): New variable.
(rust-derive-builder-0.10): Inherit from rust-derive-builder-0.11.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d75603e3e2..b43ba301bb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16301,28 +16301,45 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") (sha256 (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))))) -(define-public rust-derive-builder-0.10 +(define-public rust-derive-builder-0.11 (package (name "rust-derive-builder") - (version "0.10.2") + (version "0.11.2") (source (origin (method url-fetch) (uri (crate-uri "derive_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0c2v6vi0lih3fwwgwx92pspcmkrjz8wxfqwhmr01060ipvg04cni")))) + (base32 "18q4jx8zvg2pkx2d1nmlklx8m48bwrghyg8rdg1irdwkw5xxyynh")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.10)))) + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.11)))) (home-page "https://github.com/colin-kiegel/rust-derive-builder") (synopsis "Builder pattern for arbitrary structs") (description "Rust macro to automatically implement the builder pattern for arbitrary structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-0.10 + (package + (inherit rust-derive-builder-0.11) + (name "rust-derive-builder") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c2v6vi0lih3fwwgwx92pspcmkrjz8wxfqwhmr01060ipvg04cni")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.10)))))) + (define-public rust-derive-builder-0.9 (package (inherit rust-derive-builder-0.10) |