aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-26 10:59:04 +0200
committerAndrew Tropin <andrew@trop.in>2022-11-28 12:50:17 +0400
commitbf7c69b0432b0367966260bacbbc0de3a464051a (patch)
tree112cf2b75166c50714ad0b0d6f0668d20d14e7e1 /gnu
parent655956131c4208feea3167eac992e8cf204be0d3 (diff)
downloadguix-bf7c69b0432b0367966260bacbbc0de3a464051a.tar.gz
guix-bf7c69b0432b0367966260bacbbc0de3a464051a.zip
gnu: Add rust-rt-format-0.3.
* gnu/packages/crates-io.scm (rust-rt-format-0.3): New variable. Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e07a8d0cda..8a6e8b10c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68276,6 +68276,32 @@ Rust.")
"High performance inflection transformation library for changing properties of words like the case.")
(license license:expat)))
+(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 "Runtime equivalent of the Rust format! macro")
+ (description "This package provides a runtime equivalent of the Rust
+format! macro. It 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-rustc-workspace-hack-1
(package
(name "rust-rustc-workspace-hack")