summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:33:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:13 +0100
commit0ad85c6cc1a8fb70435a9bdb219b99b29618b5a7 (patch)
tree70f4724d7f1f45875e5954d50ae2d2422fbedb7c /gnu/packages/crates-io.scm
parentc0df77f1e6b6b946cd70ad81517545f41dc1e443 (diff)
gnu: Add rust-serde-fmt-1.
* gnu/packages/crates-io.scm (rust-serde-fmt-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d06523105..047eaac03c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35909,6 +35909,29 @@ for the serde framework.")
"Unstable AST representation used by Serde codegen.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serde-fmt-1
+ (package
+ (name "rust-serde-fmt")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde_fmt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "195sp3zxbdgrnaqxwn9z3pij04fd7yyihnm4fpfc261r5fdacqr9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/KodrAus/serde_fmt.git")
+ (synopsis "Write any @code{serde::Serialize} using standard formatting APIs")
+ (description
+ "This package allows one to Write any @code{serde::Serialize} using the
+standard formatting APIs.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-serde-ini-0.2
(package
(name "rust-serde-ini")