mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
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
This commit is contained in:
parent
a6b79e790a
commit
ed8af9ad1f
1 changed files with 12 additions and 6 deletions
|
@ -1813,26 +1813,32 @@ (define-public treefmt
|
||||||
(define-public hex
|
(define-public hex
|
||||||
(package
|
(package
|
||||||
(name "hex")
|
(name "hex")
|
||||||
(version "0.4.2")
|
(version "0.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; crates.io does not provide the test data.
|
;; crates.io does not provide the test data.
|
||||||
|
;; Not all releases are pushed to crates.io.
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/sitkevij/hex")
|
(url "https://github.com/sitkevij/hex")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(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)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:install-source? #f
|
||||||
|
#:cargo-inputs
|
||||||
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
(("rust-ansi-term" ,rust-ansi-term-0.12)
|
||||||
("rust-atty" ,rust-atty-0.2)
|
("rust-clap" ,rust-clap-4)
|
||||||
("rust-clap" ,rust-clap-2)
|
|
||||||
("rust-no-color" ,rust-no-color-0.1))
|
("rust-no-color" ,rust-no-color-0.1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-assert-cmd" ,rust-assert-cmd-1))))
|
(("rust-assert-cmd" ,rust-assert-cmd-2))))
|
||||||
(home-page "https://github.com/sitkevij/hex")
|
(home-page "https://github.com/sitkevij/hex")
|
||||||
(synopsis "Hexadecimal colorized view of a file")
|
(synopsis "Hexadecimal colorized view of a file")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue