From be2a9ff2c6470b412539485c90f674097915a9db Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Sat, 7 Oct 2023 03:03:00 +0300 Subject: gnu: Add rust-zvariant-derive-2. * gnu/packages/crates-io.scm (rust-zvariant-derive-2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a481d0073e..b6694f6f62 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -84331,6 +84331,31 @@ in Pure Rust.") (description "D-Bus & GVariant encoding & decoding") (license license:expat))) +(define-public rust-zvariant-derive-2 + (package + (inherit rust-zvariant-derive-3) + (name "rust-zvariant-derive") + (version "2.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zvariant-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s9xk9c4p9vl0j2vr1abqc12mgv500sjc3fnh8ij3d1yb4i5xjp4")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-enumflags2" ,rust-enumflags2-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-zvariant" ,rust-zvariant-2)))))) + (define-public rust-zvariant-utils-1 (package (name "rust-zvariant-utils") -- cgit 1.4.1