mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-31 16:42:38 -05:00
gnu: Add rust-sval-1.
* gnu/packages/crates-io.scm (rust-sval-1): New variable. (rust-sval-0.5): Inherit from above.
This commit is contained in:
parent
b06aa1ac8e
commit
49b196865f
1 changed files with 26 additions and 7 deletions
|
@ -39470,8 +39470,33 @@ (define-public rust-surf-1
|
|||
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3)
|
||||
("rust-web-sys" ,rust-web-sys-0.3))))))
|
||||
|
||||
(define-public rust-sval-1
|
||||
(package
|
||||
(name "rust-sval")
|
||||
(version "1.0.0-alpha.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "sval" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "025sy290xnn56nl15qkrkq0whxcwlvb4bzp996azbjl7gdyfxxj5"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-serde" ,rust-serde-1)
|
||||
("rust-smallvec" ,rust-smallvec-1)
|
||||
("rust-sval-derive" ,rust-sval-derive-1))))
|
||||
(home-page "https://github.com/sval-rs/sval")
|
||||
(synopsis "No-std, object-safe serialization framework")
|
||||
(description
|
||||
"This package provides a no-std, object-safe serialization framework.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-sval-0.5
|
||||
(package
|
||||
(inherit rust-sval-1)
|
||||
(name "rust-sval")
|
||||
(version "0.5.2")
|
||||
(source
|
||||
|
@ -39481,19 +39506,13 @@ (define-public rust-sval-0.5
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "052j9ipwpb1zh02gw2ys8c4wpjqdf35991k0zkwljnalx37i79qj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-serde" ,rust-serde-1)
|
||||
("rust-smallvec" ,rust-smallvec-1)
|
||||
("rust-sval-derive" ,rust-sval-derive-0.5))
|
||||
#:cargo-development-inputs
|
||||
(("rust-quickcheck" ,rust-quickcheck-0.9))))
|
||||
(home-page "https://github.com/sval-rs/sval")
|
||||
(synopsis "No-std, object-safe serialization framework")
|
||||
(description
|
||||
"This package provides a no-std, object-safe serialization framework.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
(("rust-quickcheck" ,rust-quickcheck-0.9))))))
|
||||
|
||||
(define-public rust-sval-0.4
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue