guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/29: gnu: Add rust-serde-fmt-1.


From: guix-commits
Subject: 22/29: gnu: Add rust-serde-fmt-1.
Date: Tue, 16 Feb 2021 17:37:16 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 0ad85c6cc1a8fb70435a9bdb219b99b29618b5a7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 16 22:33:04 2021 +0100

    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(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d06523..047eaac 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]