guix-patches
[Top][All Lists]
Advanced

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

[bug#56752] [PATCH 01/27] gnu: Add rust-rt-format-0.3.


From: Aleksandr Vityazev
Subject: [bug#56752] [PATCH 01/27] gnu: Add rust-rt-format-0.3.
Date: Sun, 24 Jul 2022 21:30:33 +0000

* gnu/packages/crates-io.scm (rust-rt-format-0.3): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16ac36c9f5..4294c4beda 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14806,6 +14806,31 @@ (define-public rust-roxmltree-0.14
      "@code{roxmltree} represents an XML 1.0 document as a read-only tree.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rt-format-0.3
+  (package
+    (name "rust-rt-format")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rt-format" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/vstojkovic/rt-format";)
+    (synopsis "Fully-runtime equivalent of the format! macro")
+    (description "Fully-runtime equivalent of the format! macro.
+Allows formatting strings like the format! macro, with the formatting
+string and the arguments provided at runtime.  This crate supports all
+the formatting features of the format! macro, except for the fill character.")
+    (license license:asl2.0)))
+
 (define-public rust-rust-crypto-0.2
   (package
     (name "rust-rust-crypto")
-- 
2.37.1



-- 

Aleksandr Vityazev





reply via email to

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