[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: mosh: Update package style.
From: |
guix-commits |
Subject: |
04/12: gnu: mosh: Update package style. |
Date: |
Thu, 19 Oct 2023 17:58:25 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 063655dbada4ec95b59bd94edded61b664528fcb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 15 02:00:00 2023 +0200
gnu: mosh: Update package style.
* gnu/packages/ssh.scm (mosh)[arguments]: Use G-expressions.
Don't explicitly return #t from phases.
[inputs]: Remove input labels.
---
gnu/packages/ssh.scm | 44 +++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 3a5d5ef59b..39b90fad8f 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -473,32 +473,30 @@ with optional @acronym{TLS, Transport-Level Security} to
protect credentials.")
"1pax8sqlvcc7ammsxd9r53yx4m2hg1827wfz6f4rrwjx9q9lnbl7"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-FHS-file-names
- (lambda _
- (substitute* "scripts/mosh.pl"
- (("/bin/sh")
- (which "sh")))
- #t))
- (add-after 'install 'wrap
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Make sure 'mosh' can find 'mosh-client' and
- ;; 'mosh-server'.
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (wrap-program (string-append bin "/mosh")
- `("PATH" ":" prefix (,bin)))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-FHS-file-names
+ (lambda _
+ (substitute* "scripts/mosh.pl"
+ (("/bin/sh")
+ (which "sh")))))
+ (add-after 'install 'wrap
+ (lambda _
+ ;; Make sure 'mosh' can find 'mosh-client' and 'mosh-server'.
+ (let ((bin (string-append #$output "/bin")))
+ (wrap-program (string-append bin "/mosh")
+ `("PATH" ":" prefix (,bin)))))))))
(native-inputs
(list pkg-config))
(inputs
- `(("openssl" ,openssl)
- ("perl" ,perl)
- ("perl-io-tty" ,perl-io-tty)
- ("zlib" ,zlib)
- ("ncurses" ,ncurses)
- ("protobuf" ,protobuf)
- ("boost-headers" ,boost)))
+ (list boost
+ ncurses
+ openssl
+ perl
+ perl-io-tty
+ protobuf
+ zlib))
(home-page "https://mosh.org/")
(synopsis "Remote shell tolerant to intermittent connectivity")
(description
- branch master updated (c065da01ff -> 47e265af75), guix-commits, 2023/10/19
- 04/12: gnu: mosh: Update package style.,
guix-commits <=
- 03/12: gnu: font-terminus: Install the README., guix-commits, 2023/10/19
- 01/12: gnu: iceauth: Fix source., guix-commits, 2023/10/19
- 05/12: gnu: mosh: Prepare for cross-building., guix-commits, 2023/10/19
- 06/12: gnu: Add psftools., guix-commits, 2023/10/19
- 02/12: gnu: ncdu: Use a less clever licence URL., guix-commits, 2023/10/19
- 07/12: gnu: isc-dhcp: Remove unused net-tools input., guix-commits, 2023/10/19
- 08/12: gnu: network-manager: Update to 1.44.0., guix-commits, 2023/10/19
- 10/12: gnu: ppp: Update to 2.5.0., guix-commits, 2023/10/19
- 09/12: gnu: network-manager: Use Meson option for modprobe., guix-commits, 2023/10/19
- 11/12: gnu: connman: Update to 1.42., guix-commits, 2023/10/19