From 4845e65ea32bc5ead95e4127abfdb85887e7ebb0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 3 Aug 2023 12:01:12 +0300 Subject: gnu: Add rust-derive-builder-macro-0.12. * gnu/packages/crates-io.scm (rust-derive-builder-macro-0.12): New variable. (rust-derive-builder-macro-0.11): Inherit from rust-derive-builder-macro-0.12. --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 716773e87b..8ce13612bd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19377,22 +19377,21 @@ for arbitrary structs.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-derive-builder-macro-0.11 +(define-public rust-derive-builder-macro-0.12 (package (name "rust-derive-builder-macro") - (version "0.11.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "derive_builder_macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s6xfgsybd9wbk39hbgqjcn7d1l36a33q6v7d0x5y17d5fvi80wg")))) + (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")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-derive-builder-core" ,rust-derive-builder-core-0.11) + (("rust-derive-builder-core" ,rust-derive-builder-core-0.12) ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/colin-kiegel/rust-derive-builder") (synopsis @@ -19402,6 +19401,22 @@ for arbitrary structs.") pattern for arbitrary structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-macro-0.11 + (package + (inherit rust-derive-builder-macro-0.12) + (name "rust-derive-builder-macro") + (version "0.11.2") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s6xfgsybd9wbk39hbgqjcn7d1l36a33q6v7d0x5y17d5fvi80wg")))) + (arguments + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.11) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-derive-builder-macro-0.10 (package (inherit rust-derive-builder-macro-0.11) -- cgit 1.4.1