From 0ad85c6cc1a8fb70435a9bdb219b99b29618b5a7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 16 Feb 2021 22:33:04 +0100 Subject: gnu: Add rust-serde-fmt-1. * gnu/packages/crates-io.scm (rust-serde-fmt-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') 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") -- cgit 1.4.1