Merge pull request #245984 from deviant/lftp-openssl
lftp: use openssl instead of gnutls
This commit is contained in:
commit
b1a344f860
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lftp";
|
pname = "lftp";
|
||||||
|
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
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";
|
hardeningDisable = lib.optional stdenv.isDarwin "format";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--with-openssl"
|
||||||
"--with-readline=${readline.dev}"
|
"--with-readline=${readline.dev}"
|
||||||
"--with-zlib=${zlib.dev}"
|
"--with-zlib=${zlib.dev}"
|
||||||
"--without-expat"
|
"--without-expat"
|
||||||
|
|
Loading…
Reference in a new issue