GNU bug report logs -
#52300
[PATCH 1/2] gnu: Add hex
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Sun, 5 Dec 2021 09:42:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52300 in the body.
You can then email your comments to 52300 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52300
; Package
guix-patches
.
(Sun, 05 Dec 2021 09:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jgart <jgart <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 05 Dec 2021 09:42:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guixers,
Here is hex:
https://github.com/sitkevij/hex
A futuristic take on hexdump.
hx accepts a file path as input and outputs a hexadecimal colorized view
to stdout.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52300
; Package
guix-patches
.
(Sun, 05 Dec 2021 09:54:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 52300 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-no-color-0.1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad90a2d4a4..8d1a52c738 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32161,6 +32161,26 @@ (define-public rust-nl80211-0.0.2
to nl80211 and receive messages.")
(license license:expat)))
+(define-public rust-no-color-0.1
+ (package
+ (name "rust-no-color")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "no_color" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m0x6i5q1jav2jgajkg4irrkfgv4lakpdvmj310b90wswdyy9xdx"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/sitkevij/no_color")
+ (synopsis "Library to detect NO_COLOR environment variable")
+ (description
+"@code{no_color} is a rust library for detecting if the @code{NO_COLOR}
+environment variable is set.")
+ (license license:expat)))
+
(define-public rust-no-panic-0.1
(package
(name "rust-no-panic")
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52300
; Package
guix-patches
.
(Sun, 05 Dec 2021 09:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52300 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/rust-apps.scm (hex): New variable.
---
gnu/packages/rust-apps.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 6ce98610f5..8634356ccd 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -857,6 +857,37 @@ (define-public tectonic
of support files.")
(license license:expat)))
+(define-public hex
+ (package
+ (name "hex")
+ (version "0.4.2")
+ (source
+ (origin
+ ;; crates.io does not provide the test data.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sitkevij/hex")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "03x27nixdlnkkrh85gy4152arp02kpjwq0i9dn9p73lyr24s64lv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-no-color" ,rust-no-color-0.1))
+ #:cargo-development-inputs
+ (("rust-assert-cmd" ,rust-assert-cmd-1))))
+ (home-page "https://github.com/sitkevij/hex")
+ (synopsis "Futuristic take on hexdump")
+ (description
+"@command{hx} accepts a file path as input and outputs a hexadecimal
+colorized view to stdout.")
+ (license license:expat)))
+
(define-public tokei
(package
(name "tokei")
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52300
; Package
guix-patches
.
(Sun, 05 Dec 2021 18:51:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
jgart via Guix-patches via <guix-patches <at> gnu.org> writes:
> Here is hex:
>
> https://github.com/sitkevij/hex
>
> A futuristic take on hexdump.
>
> hx accepts a file path as input and outputs a hexadecimal colorized view
> to stdout.
Thank you. I changed the synopsis because "futuristic take on hexdump"
sounds like an ad, and applied your patch.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sun, 05 Dec 2021 18:51:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jgart <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Sun, 05 Dec 2021 18:51:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 03 Jan 2022 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.