guix-patches
[Top][All Lists]
Advanced

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

[bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex.


From: Steve George
Subject: [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex.
Date: Mon, 23 Oct 2023 23:21:12 +0100

* gnu/packages/crates-io.scm (rust-pretty-hex): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 483b9eea96..bfc7e46022 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52500,6 +52500,25 @@ (define-public rust-prettyplease-0.1
      "This package provides a minimal `syn` syntax tree pretty-printer.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pretty-hex-0.3
+  (package
+    (name "rust-pretty-hex")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty-hex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))
+    (home-page "https://github.com/wolandr/pretty-hex";)
+    (synopsis "Prettified output of hexadecimal byte slices")
+    (description "Pretty hex dump of byte slices in the common style.")
+    (license license:expat)))
+
 (define-public rust-prettytable-rs-0.8
   (package
     (name "rust-prettytable-rs")
-- 
2.41.0






reply via email to

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