mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-08-15 09:10:20 +00:00
rosenthal: tuwunel-bin: Update to 1.5.1.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.5.1. [arguments]: Add a basic check phase.
This commit is contained in:
parent
90dff49155
commit
c548c1425f
@ -142,7 +142,7 @@ host Matrix for your family, friends or company.")
|
|||||||
(define-public tuwunel-bin
|
(define-public tuwunel-bin
|
||||||
(package
|
(package
|
||||||
(name "tuwunel-bin")
|
(name "tuwunel-bin")
|
||||||
(version "1.5.0")
|
(version "1.5.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -152,10 +152,11 @@ host Matrix for your family, friends or company.")
|
|||||||
(file-name (string-append name "-" version ".zst"))
|
(file-name (string-append name "-" version ".zst"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0d2fmpsisnzqgrx0sq6zrn31jvdisnm6jb2q6qcc39z4jdllwhrb"))))
|
"00kpapzd7alm3g34ijfhwszc1x1ddd4ykcyk8ah73gmyc2lq8gys"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan
|
(list #:tests? (not (%current-target-system))
|
||||||
|
#:install-plan
|
||||||
#~'((#$(format #f "~a-~a"
|
#~'((#$(format #f "~a-~a"
|
||||||
(package-name this-package)
|
(package-name this-package)
|
||||||
(package-version this-package))
|
(package-version this-package))
|
||||||
@ -164,7 +165,13 @@ host Matrix for your family, friends or company.")
|
|||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'fix-permission
|
(add-after 'install 'fix-permission
|
||||||
(lambda _
|
(lambda _
|
||||||
(chmod (string-append #$output "/bin/tuwunel") #o555))))))
|
(chmod (string-append #$output "/bin/tuwunel") #o555)))
|
||||||
|
(add-after 'fix-permission 'check
|
||||||
|
(lambda* (#:key tests? outputs #:allow-other-keys)
|
||||||
|
(let ((tuwunel (search-input-file outputs "bin/tuwunel")))
|
||||||
|
(when tests?
|
||||||
|
(invoke tuwunel "--help")
|
||||||
|
(invoke tuwunel "--version"))))))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(synopsis "Matrix homeserver")
|
(synopsis "Matrix homeserver")
|
||||||
(description
|
(description
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user