shadowsocks-libev: polarssl is now called mbedtls

This commit is contained in:
Franz Pletz 2016-07-10 01:07:08 +02:00
parent 916cedb063
commit f1f6dc9b87

View File

@ -1,8 +1,8 @@
{ withPolarSSL ? false
{ withMbedTLS ? true
, enableSystemSharedLib ? true
, stdenv, fetchurl, zlib
, openssl ? null
, polarssl ? null
, mbedtls ? null
, libev ? null
, libsodium ? null
, udns ? null
@ -25,13 +25,13 @@ stdenv.mkDerivation rec {
};
buildInputs = [ zlib ]
++ optional (!withPolarSSL) openssl
++ optional withPolarSSL polarssl
++ optional (!withMbedTLS) openssl
++ optional withMbedTLS mbedtls
++ optional enableSystemSharedLib [libev libsodium udns];
configureFlags = optional withPolarSSL
[ "--with-crypto-library=polarssl"
"--with-polarssl=${polarssl}"
configureFlags = optional withMbedTLS
[ "--with-crypto-library=mbedtls"
"--with-mbedtls=${mbedtls}"
]
++ optional enableSystemSharedLib "--enable-system-shared-lib";