guix-commits
[Top][All Lists]
Advanced

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

86/188: gnu: Add rust-ufmt-0.1.


From: guix-commits
Subject: 86/188: gnu: Add rust-ufmt-0.1.
Date: Mon, 12 Oct 2020 02:25:02 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 1949e24051b3afa49e87a698e001e0fa705efda7
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 14:14:50 2020 +0530

    gnu: Add rust-ufmt-0.1.
    
    * gnu/packages/crates-io.scm (rust-ufmt-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b80282..7accfa3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27226,6 +27226,30 @@ with the Unicode character database.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-ufmt-0.1
+  (package
+    (name "rust-ufmt")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ufmt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1844qwbmc4m69nfi6xmdcdf4fmjjvypi9rpfg3wgilvrxykwwzif"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+        ("rust-ufmt-macros" ,rust-ufmt-macros-0.1)
+        ("rust-ufmt-write" ,rust-ufmt-write-0.1))))
+    (home-page "https://crates.io/crates/ufmt";)
+    (synopsis "Faster and panic-free alternative to @code{core::fmt}")
+    (description "This package provides a (6-40x) smaller, (2-9x) faster and
+panic-free alternative to @code{core::fmt}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ufmt-macros-0.1
   (package
     (name "rust-ufmt-macros")



reply via email to

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