From 0faf5f1dd6f673762eb4576b3f2e17250120ab66 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Volatier Date: Thu, 22 Jul 2021 15:55:43 +0300 Subject: gnu: Add curl-ssh. * gnu/packages/curl.scm (curl-ssh): New hidden package. Signed-off-by: Efraim Flashner --- gnu/packages/curl.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index d368c4140e..e6f1bb0c41 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2019, 2021 Ricardo Wurmus ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Dale Mellor +;;; Copyright © 2021 Jean-Baptiste Volatier ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages ssh) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (srfi srfi-1)) @@ -152,6 +154,17 @@ tunneling, and so on.") (name "curl-minimal") (inputs (alist-delete "openldap" (package-inputs curl)))))) +(define-public curl-ssh + (package/inherit curl + (arguments + (substitute-keyword-arguments (package-arguments curl) + ((#:configure-flags flags) + `(cons "--with-libssh2" ,flags)))) + (inputs + `(("libssh2" ,libssh2) + ,@(package-inputs curl))) + (properties `((hidden? . #t))))) + (define-public curl-7.77.0 (package (inherit curl) -- cgit v1.2.3