gnu: progress: Update to 0.17.

* gnu/packages/admin.scm (progress): Update to 0.17.
[arguments]: Use G-expressions. Use PKG-CONFIG-FOR-TARGET.

Change-Id: Ic92f305e7200cd808aeab552966ba9374f568f59
This commit is contained in:
Zheng Junjie 2024-09-18 19:38:01 +08:00
parent 610b395424
commit a144861ee0
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -277,7 +277,7 @@ usual file attributes can be checked for inconsistencies.")
(define-public progress
(package
(name "progress")
(version "0.16")
(version "0.17")
(source
(origin
(method git-fetch)
@ -285,7 +285,7 @@ usual file attributes can be checked for inconsistencies.")
(url "https://github.com/Xfennec/progress")
(commit (string-append "v" version))))
(sha256
(base32 "0gf10j9zd8spain94b5kigknwbdqajiy6fjsa5hhwsc1biz34hcj"))
(base32 "1cg1vdk2891sdcbn7yc9a6mzdxplm63qsk1kq0jr4j8ym28v09xf"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(native-inputs
@ -293,17 +293,13 @@ usual file attributes can be checked for inconsistencies.")
(inputs
(list ncurses))
(arguments
`(#:tests? #f ; no test suite
(list #:tests? #f ; no test suite
#:make-flags
(let ((target ,(%current-target-system)))
(list ,(string-append "CC=" (cc-for-target))
(string-append "PKG_CONFIG="
(if target
(string-append target "-pkg-config")
"pkg-config"))
(string-append "PREFIX=" (assoc-ref %outputs "out"))))
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PKG_CONFIG=" #$(pkg-config-for-target))
(string-append "PREFIX=" #$output))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(home-page "https://github.com/Xfennec/progress")
(synopsis "Program to view the progress of the coreutils commands")