aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:35:14 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:14 +0100
commitb06aa1ac8e8f596920bba73224f7313fdcb38ec1 (patch)
tree5146ea4fba32b3d69b741894f68128019056f836 /gnu
parent8983e6d789a8d13f9551935aa6b276917995e329 (diff)
downloadguix-b06aa1ac8e8f596920bba73224f7313fdcb38ec1.tar
guix-b06aa1ac8e8f596920bba73224f7313fdcb38ec1.tar.gz
gnu: Add rust-sval-derive-1.
* gnu/packages/crates-io.scm (rust-sval-derive-1): New variable. (rust-sval-derive-0.5): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9656d7a851..baaf206e11 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39516,20 +39516,21 @@ alike. It's completely modular, and built directly for @code{async/await}.")
("rust-smallvec" ,rust-smallvec-0.6)
("rust-serde" ,rust-serde-1))))))
-(define-public rust-sval-derive-0.5
+(define-public rust-sval-derive-1
(package
(name "rust-sval-derive")
- (version "0.5.2")
+ (version "1.0.0-alpha.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "sval_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1spip2cjhmjazq2dns69909p9hyx4cmbx6ma4g2skwvcwv4h3gnq"))))
+ (base32 "1clarb8fqxlffa2i6p70l5nr6l3pcp90p98xkvdn8f65xkc0hhkp"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
@@ -39538,6 +39539,24 @@ alike. It's completely modular, and built directly for @code{async/await}.")
(description "This package provides custom derive for @code{sval}.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-sval-derive-0.5
+ (package
+ (inherit rust-sval-derive-1)
+ (name "rust-sval-derive")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sval_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1spip2cjhmjazq2dns69909p9hyx4cmbx6ma4g2skwvcwv4h3gnq"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-sval-derive-0.4
(package
(inherit rust-sval-derive-0.5)