aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-03 11:55:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-03 14:07:49 +0300
commit44ceb9ee137f50f3c8c402a9b6071ab734941c5d (patch)
treec92352e7afe648b13cd80bde000ab0738619da0b /gnu/packages
parentd0bed3629c22cc5f382c0d47db69f1b1ef58322f (diff)
downloadguix-44ceb9ee137f50f3c8c402a9b6071ab734941c5d.tar.gz
guix-44ceb9ee137f50f3c8c402a9b6071ab734941c5d.zip
gnu: Add rust-print-bytes-0.4.
* gnu/packages/crates-io.scm (rust-print-bytes-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 33886d72c7..1c3be2d496 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44490,6 +44490,29 @@ replacements, adding colorful diffs.")
formatted tables in terminal.")
(license license:bsd-3)))
+(define-public rust-print-bytes-0.4
+ (package
+ (name "rust-print-bytes")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "print-bytes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zmvbaxfl4r780j0smg2kn1q3agks601aa43s5zdlzgcp32yjfvm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-os-str-bytes" ,rust-os-str-bytes-2))))
+ (home-page "https://github.com/dylni/print_bytes")
+ (synopsis "Print bytes as losslessly as possible")
+ (description "This package contains a Rust library to print bytes as
+losslessly as possible.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proc-macro-crate-1
(package
(name "rust-proc-macro-crate")