mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: ncdu: Update to 2.6.
* gnu/packages/ncdu.scm (ncdu): Update to 2.6. [source]: Adjust snippet to not remove manpage. [arguments]: Remove adjustments to phases. [inputs]: Add zstd:lib. [native-inputs]: Add pkg-config. Remove perl. Change-Id: I6e85f06f22dcd5d62b41009039b984e6b8e65b28
This commit is contained in:
parent
368c1f4c5e
commit
097b291e6f
1 changed files with 8 additions and 16 deletions
|
@ -20,8 +20,10 @@
|
||||||
|
|
||||||
(define-module (gnu packages ncdu)
|
(define-module (gnu packages ncdu)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages zig)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
@ -60,29 +62,19 @@ (define-public ncdu
|
||||||
(package
|
(package
|
||||||
(inherit ncdu-1)
|
(inherit ncdu-1)
|
||||||
(name "ncdu")
|
(name "ncdu")
|
||||||
(version "2.2.2")
|
(version "2.6")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://dev.yorhel.nl/download/ncdu-"
|
(uri (string-append "https://dev.yorhel.nl/download/ncdu-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14zrmcxnrczamqjrib99jga05ixk0dzfav3pd6s1h8vm9q121nch"))
|
"01g5mpvsm78lkd0yin82gyancrl23npy69qcp3d60vmm72yiwirz"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
#~(begin
|
|
||||||
;; Delete a pregenerated man page. We'll build it ourselves.
|
|
||||||
(delete-file "ncdu.1")))))
|
|
||||||
(build-system zig-build-system)
|
(build-system zig-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list #:zig zig-0.12))
|
||||||
#:phases
|
(inputs (list ncurses `(,zstd "lib")))
|
||||||
#~(modify-phases %standard-phases
|
(native-inputs (list pkg-config))
|
||||||
(delete 'validate-runpath)
|
|
||||||
(add-after 'build 'build-manpage
|
|
||||||
(lambda _
|
|
||||||
(invoke "make" "doc"))))))
|
|
||||||
(native-inputs (list perl))
|
|
||||||
(properties `((tunable? . #t)))))
|
(properties `((tunable? . #t)))))
|
||||||
|
|
||||||
(define-public ncdu-2
|
(define-public ncdu-2
|
||||||
|
|
Loading…
Reference in a new issue