aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:36:10 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:14 +0100
commit49b196865f5dca17ae72db368768cd00ee858a0d (patch)
tree3e80c5192924536610fa40e68b5c48348fd3fc85 /gnu/packages/crates-io.scm
parentb06aa1ac8e8f596920bba73224f7313fdcb38ec1 (diff)
downloadguix-49b196865f5dca17ae72db368768cd00ee858a0d.tar.gz
guix-49b196865f5dca17ae72db368768cd00ee858a0d.zip
gnu: Add rust-sval-1.
* gnu/packages/crates-io.scm (rust-sval-1): New variable. (rust-sval-0.5): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index baaf206e11..63def8cdb2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39470,31 +39470,50 @@ alike. It's completely modular, and built directly for @code{async/await}.")
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3)
("rust-web-sys" ,rust-web-sys-0.3))))))
-(define-public rust-sval-0.5
+(define-public rust-sval-1
(package
(name "rust-sval")
- (version "0.5.2")
+ (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 "052j9ipwpb1zh02gw2ys8c4wpjqdf35991k0zkwljnalx37i79qj"))))
+ (base32 "025sy290xnn56nl15qkrkq0whxcwlvb4bzp996azbjl7gdyfxxj5"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #: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))))
+ ("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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sval" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "052j9ipwpb1zh02gw2ys8c4wpjqdf35991k0zkwljnalx37i79qj"))))
+ (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))))))
+
(define-public rust-sval-0.4
(package
(inherit rust-sval-0.5)