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
parent
94479a46e2
commit
1e17cc6e7b
|
@ -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
|
||||
|
|
Reference in New Issue