gnu: Add openssh-sans-x.
authorMathieu Othacehe <othacehe@gnu.org>
Sat, 6 Jun 2020 09:10:34 +0000 (11:10 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Mon, 8 Jun 2020 09:02:43 +0000 (11:02 +0200)
* gnu/packages/ssh.scm (openssh-sans-x): New variable.

gnu/packages/ssh.scm

index 73841db..43764a8 100644 (file)
@@ -239,6 +239,15 @@ Additionally, various channel-specific options can be negotiated.")
                                "See LICENSE in the distribution."))
    (home-page "https://www.openssh.com/")))
 
+;; OpenSSH without X support. This allows to use OpenSSH without dragging X
+;; libraries to the closure.
+(define-public openssh-sans-x
+  (package
+    (inherit openssh)
+    (name "openssh-sans-x")
+    (inputs (alist-delete "xauth" (package-inputs openssh)))
+    (synopsis "OpenSSH client and server without X11 support")))
+
 (define-public guile-ssh
   (package
     (name "guile-ssh")