From 1e17cc6e7bf66f79b66b53223ce88586545a3685 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 10:08:55 +0300 Subject: gnu: Add rust-sval-derive-2. * gnu/packages/crates-io.scm (rust-sval-derive-2): New variable. (rust-sval-derive-1): Inherit from rust-sval-derive-2. Change-Id: I4ac1c22829a709484be54e0fe07230dfade3e400 --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f0f2d3b70..5c18a0b703 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72404,8 +72404,30 @@ values without proliferating generics.") "This package provides a no-std, object-safe serialization framework.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sval-derive-2 + (package + (name "rust-sval-derive") + (version "2.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sval-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zba5y4gjiqzlyn6d6nzfh743qw97yjq2ll8130giddqwg5lnccf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-sval-derive-macros" ,rust-sval-derive-macros-2) + ("rust-sval-flatten" ,rust-sval-flatten-2)))) + (home-page "https://github.com/sval-rs/sval") + (synopsis "Custom derive for @code{sval}") + (description "This package provides custom derive for @code{sval}.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-sval-derive-1 (package + (inherit rust-sval-derive-2) (name "rust-sval-derive") (version "1.0.0-alpha.5") (source @@ -72415,17 +72437,12 @@ values without proliferating generics.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1clarb8fqxlffa2i6p70l5nr6l3pcp90p98xkvdn8f65xkc0hhkp")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/sval-rs/sval") - (synopsis "Custom derive for @code{sval}") - (description "This package provides custom derive for @code{sval}.") - (license (list license:asl2.0 license:expat)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-svd-parser-0.10 (package -- cgit 1.4.1