Merge pull request #245984 from deviant/lftp-openssl

lftp: use openssl instead of gnutls
This commit is contained in:
Pol Dellaiera 2023-07-29 10:30:50 +02:00 committed by GitHub
commit b1a344f860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gnutls, pkg-config, readline, zlib, libidn2, gmp, libiconv, libunistring, gettext }:
{ lib, stdenv, fetchurl, openssl, pkg-config, readline, zlib, libidn2, gmp, libiconv, libunistring, gettext }:
stdenv.mkDerivation rec {
pname = "lftp";
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gnutls readline zlib libidn2 gmp libiconv libunistring gettext ];
buildInputs = [ openssl readline zlib libidn2 gmp libiconv libunistring gettext ];
hardeningDisable = lib.optional stdenv.isDarwin "format";
configureFlags = [
"--with-openssl"
"--with-readline=${readline.dev}"
"--with-zlib=${zlib.dev}"
"--without-expat"