diff options
author | VÖRÖSKŐI András <voroskoi@gmail.com> | 2024-02-24 21:39:43 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:44:07 +0300 |
commit | 3b65677daaa10362b90a20c10f896ab3ac3c0584 (patch) | |
tree | dc64f28b53820255559f44fea91f198cac9b5e17 | |
parent | 6198a1bb692d2cf79a1fe4a9266ec825c3cb7ef5 (diff) | |
download | guix-3b65677daaa10362b90a20c10f896ab3ac3c0584.tar.gz guix-3b65677daaa10362b90a20c10f896ab3ac3c0584.zip |
gnu: Add rust-derive-builder-macro-0.13.
* gnu/packages/crates-io.scm (rust-derive-builder-macro-0.13): New
variable.
(rust-derive-builder-macro-0.12): Inherit from
rust-derive-builder-macro-0.13.
Change-Id: Ic73a7d3b0f9499aebfa08371575265f386470c58
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 89b279a224..422467600c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19960,30 +19960,44 @@ for arbitrary structs.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-derive-builder-macro-0.12 +(define-public rust-derive-builder-macro-0.13 (package (name "rust-derive-builder-macro") - (version "0.12.0") + (version "0.13.1") (source (origin (method url-fetch) (uri (crate-uri "derive_builder_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17p71qzh7x1q2yxzz3xrg73zw3xl0h479b7ybyjm0s1rg9fa7kgb")))) + "09q17rzgf8bsj8n1bhlf4f93nmqg8va6321ppcd07f1mzg1nh0w7")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-derive-builder-core" ,rust-derive-builder-core-0.12) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.13) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis - "Rust macro to automatically implement the builder pattern for arbitrary structs") + (synopsis "Automatically implement the builder pattern for arbitrary structs") (description "This crate provides a Rust macro to automatically implement the builder pattern for arbitrary structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-macro-0.12 + (package + (inherit rust-derive-builder-macro-0.13) + (name "rust-derive-builder-macro") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17p71qzh7x1q2yxzz3xrg73zw3xl0h479b7ybyjm0s1rg9fa7kgb")))) + (arguments + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.12) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-derive-builder-macro-0.11 (package (inherit rust-derive-builder-macro-0.12) |