libidn2: init at 0.16

wget now needs libidn2 instead of libidn.

cc #22416
This commit is contained in:
Franz Pletz
2017-02-06 13:18:20 +01:00
parent f629f4e234
commit 8b9e2010b4
3 changed files with 38 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext, libidn, pkgconfig
{ stdenv, fetchurl, gettext, libidn2, pkgconfig
, perl, perlPackages, LWP, python3
, libiconv, libpsl ? null, openssl ? null }:
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ gettext pkgconfig perl ];
buildInputs = [ libidn libiconv libpsl ]
buildInputs = [ libidn2 libiconv libpsl ]
++ stdenv.lib.optionals doCheck [ perlPackages.IOSocketSSL LWP python3 ]
++ stdenv.lib.optional (openssl != null) openssl
++ stdenv.lib.optional stdenv.isDarwin perl;