aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 14:39:07 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:55:09 +0100
commit98d94bdf40880a3006cb2e3d1956b6b062bd3203 (patch)
treef5af2f9d0bdfeac9654fee9e3c6f31acd58c2e0e
parentc7e71a5e01973591bafb780679bb737302b2d4d6 (diff)
downloadguix-98d94bdf40880a3006cb2e3d1956b6b062bd3203.tar
guix-98d94bdf40880a3006cb2e3d1956b6b062bd3203.tar.gz
gnu: Add rust-serdeconv-0.4.
* gnu/packages/crates-io.scm (rust-serdeconv-0.4): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a288db9ebf..123bf56287 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31960,6 +31960,36 @@ for the serde framework.")
"Unstable AST representation used by Serde codegen.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serdeconv-0.4
+ (package
+ (name "rust-serdeconv")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serdeconv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cal6qkzps92g7csycqij4ik1df3ccxn5sxnjvfvm473phnwbvbi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rmp-serde" ,rust-rmp-serde-0.14)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-trackable" ,rust-trackable-1))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1))))
+ (home-page "https://github.com/sile/serdeconv")
+ (synopsis
+ "Convert between TOML/JSON/MessagePack strings and serializable values")
+ (description
+ "This crate provides traits and functions for converting between
+TOML/JSON/MessagePack strings and serializable values.")
+ (license license:expat)))
+
(define-public rust-serde-derive-1
(package
(name "rust-serde-derive")