[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/12: gnu: hex: Update to 0.6.0.
From: |
guix-commits |
Subject: |
11/12: gnu: hex: Update to 0.6.0. |
Date: |
Tue, 23 Jan 2024 10:47:55 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4935035293fa4eff2df4f0394d14dd9178c7f3e9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 23 17:19:08 2024 +0200
gnu: hex: Update to 0.6.0.
* gnu/packages/rust-apps.scm (hex): Update to 0.6.0.
[source]: Add snippet to remove dependency on rusty-hook.
[arguments]: Don't install the sources.
[cargo-inputs]: Replace rust-clap-2 with 4. Remove rust-atty-0.2.
[cargo-development-inputs]: Replace rust-assert-cmd-1 with 2.
Change-Id: Ifb92a65cc55ea563e9c562cfa89a3db75d584643
---
gnu/packages/rust-apps.scm | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index b31e7c9829..9fee03f88c 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1813,26 +1813,32 @@ revert and check changes.
(define-public hex
(package
(name "hex")
- (version "0.4.2")
+ (version "0.6.0")
(source
(origin
;; crates.io does not provide the test data.
+ ;; Not all releases are pushed to crates.io.
(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"))))
+ (base32 "0kv07ghibifs6rnskg1na6a0hdb0f8vqfbpv5k8g09lc2075gjv1"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ ;; rusty-hook provides a git hook for CI.
+ ((".*rusty-hook.*") ""))))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:install-source? #f
+ #:cargo-inputs
(("rust-ansi-term" ,rust-ansi-term-0.12)
- ("rust-atty" ,rust-atty-0.2)
- ("rust-clap" ,rust-clap-2)
+ ("rust-clap" ,rust-clap-4)
("rust-no-color" ,rust-no-color-0.1))
#:cargo-development-inputs
- (("rust-assert-cmd" ,rust-assert-cmd-1))))
+ (("rust-assert-cmd" ,rust-assert-cmd-2))))
(home-page "https://github.com/sitkevij/hex")
(synopsis "Hexadecimal colorized view of a file")
(description
- branch rust-team updated (3228c81767 -> 3122d2c8d6), guix-commits, 2024/01/23
- 03/12: gnu: rot8: Update to 1.0.0., guix-commits, 2024/01/23
- 01/12: gnu: diffr: Update to 0.1.5., guix-commits, 2024/01/23
- 06/12: gnu: rust-data-encoding-2: Update to 2.5.0., guix-commits, 2024/01/23
- 10/12: gnu: sniffglue: Update to 0.16.0., guix-commits, 2024/01/23
- 02/12: gnu: ripgrep: Update to 14.1.0., guix-commits, 2024/01/23
- 12/12: gnu: hex: Install manpage., guix-commits, 2024/01/23
- 04/12: gnu: Add rust-boxxy-0.13., guix-commits, 2024/01/23
- 08/12: gnu: Add rust-rustyline-derive-0.7., guix-commits, 2024/01/23
- 07/12: gnu: Add rust-rustyline-10., guix-commits, 2024/01/23
- 11/12: gnu: hex: Update to 0.6.0.,
guix-commits <=
- 05/12: gnu: Add rust-close-fds-0.3., guix-commits, 2024/01/23
- 09/12: gnu: Add rust-syscallz-0.17., guix-commits, 2024/01/23