diff mbox series

[bug#74233,PATCHv2,rust-team,05/40] gnu: Add rust-pretty-hex-0.4.

Message ID 5d1c899ebd1b951fc4aa7775775f59c38274e936.1731018145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,PATCHv2,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:21 p.m. UTC
* gnu/packages/crates-io.scm (rust-pretty-hex-0.4): New variable;
(rust-pretty-hex-0.3): inherit from rust-pretty-hex-0.4.

Change-Id: Ibe9b2dacdfdc78c653b4a7ebafb8bd67c697f801
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b84031ed60..5b42462be6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58036,25 +58036,40 @@  (define-public rust-prettyplease-0.1
        #:cargo-development-inputs
        (("rust-syn" ,rust-syn-1))))))
 
-(define-public rust-pretty-hex-0.3
+(define-public rust-pretty-hex-0.4
   (package
     (name "rust-pretty-hex")
-    (version "0.3.0")
+    (version "0.4.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "pretty-hex" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+        (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v"))))
     (build-system cargo-build-system)
     (arguments
-     (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))
+     (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8))))
     (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-pretty-hex-0.3
+  (package
+    (inherit rust-pretty-hex-0.4)
+    (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"))))
+    (arguments
+     (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))))
+
 (define-public rust-prettytable-rs-0.8
   (package
     (name "rust-prettytable-rs")