mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-08-18 18:50:14 +00:00
rosenthal: wakapi-bin: Update to 2.17.3.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.3. [build-system]: Switch to gnu-build-system. [arguments]: Add a simple check phase.
This commit is contained in:
parent
c6782ce5bc
commit
4be95a6eeb
@ -334,7 +334,7 @@ monster-in-the-middle}.")
|
|||||||
(define-public wakapi-bin
|
(define-public wakapi-bin
|
||||||
(package
|
(package
|
||||||
(name "wakapi-bin")
|
(name "wakapi-bin")
|
||||||
(version "2.17.2")
|
(version "2.17.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -342,9 +342,33 @@ monster-in-the-middle}.")
|
|||||||
version "/wakapi_linux_amd64.zip"))
|
version "/wakapi_linux_amd64.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1x51a9jhnhzanbgb713f0j8rnj4sgcdpghzhifvncj8hz6w4i8sy"))))
|
"0lppf1wzx07kv4jh9mjhx9nbwl3kcb4swnhyydsi9llccf60pccn"))))
|
||||||
(build-system copy-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments (list #:install-plan #~'(("wakapi" "bin/wakapi"))))
|
(arguments
|
||||||
|
(list #:tests? (not (%current-target-system))
|
||||||
|
#:imported-modules
|
||||||
|
(append %default-gnu-imported-modules
|
||||||
|
%copy-build-system-modules)
|
||||||
|
#:modules
|
||||||
|
'((guix build utils)
|
||||||
|
(guix build gnu-build-system)
|
||||||
|
((guix build copy-build-system) #:prefix copy:))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(delete 'build)
|
||||||
|
(delete 'check)
|
||||||
|
(replace 'install
|
||||||
|
(lambda args
|
||||||
|
(apply (assoc-ref copy:%standard-phases 'install)
|
||||||
|
#:install-plan '(("wakapi" "bin/wakapi"))
|
||||||
|
args)))
|
||||||
|
(add-after 'install 'check
|
||||||
|
(lambda* (#:key tests? outputs #:allow-other-keys)
|
||||||
|
(let ((cmd (search-input-file outputs "bin/wakapi")))
|
||||||
|
(when tests?
|
||||||
|
(invoke cmd "--help")
|
||||||
|
(invoke cmd "--version"))))))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(native-inputs (list unzip))
|
(native-inputs (list unzip))
|
||||||
(home-page "https://wakapi.dev/")
|
(home-page "https://wakapi.dev/")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user