aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-21 00:26:32 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:25 +0200
commitdcfbce96b947e81eec16c91944908a6678818ab5 (patch)
treeb94b072281b7b58175ee1af974d5b189069a699d
parent39f8686d6237b9847fd07aea81f7d437dde5a842 (diff)
downloadpatches-dcfbce96b947e81eec16c91944908a6678818ab5.tar
patches-dcfbce96b947e81eec16c91944908a6678818ab5.tar.gz
gnu: Add rust-libc-print-0.1.
* gnu/packages/crates-io.scm (rust-libc-print-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55db515fb0..37db81cd23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11241,6 +11241,26 @@ values of all the exported APIs match the platform that libc is compiled for.")
(license (list license:expat
license:asl2.0))))
+(define-public rust-libc-print-0.1
+ (package
+ (name "rust-libc-print")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc-print" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sh4l815w7zxg8w17fvwj63y421sjqxxrdamzwyvg90n6mr70phv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/mmastrac/rust-libc-print")
+ (synopsis "Println! and eprintln! without stdlib")
+ (description "This package provices @code{println!} and @code{eprintln!}
+macros on libc without stdlib.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-libgit2-sys-0.10
(package
(name "rust-libgit2-sys")