mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge branch 'master' of git://github.com/gridaphobe/nixpkgs
make wget build on darwin
This commit is contained in:
commit
c1aefe5d7e
@ -21,19 +21,22 @@ stdenv.mkDerivation rec {
|
||||
do
|
||||
sed -i "$i" -e's/localhost/127.0.0.1/g'
|
||||
done
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
export LIBS="-liconv -lintl"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ gettext ];
|
||||
buildInputs = [ libidn ]
|
||||
++ stdenv.lib.optionals doCheck [ perl perlPackages.IOSocketSSL LWP python3 ]
|
||||
++ stdenv.lib.optional (gnutls != null) gnutls;
|
||||
++ stdenv.lib.optional (gnutls != null) gnutls
|
||||
++ stdenv.lib.optional stdenv.isDarwin perl;
|
||||
|
||||
configureFlags =
|
||||
if gnutls != null
|
||||
then "--with-ssl=gnutls"
|
||||
else "--without-ssl";
|
||||
|
||||
doCheck = (perl != null && python3 != null);
|
||||
doCheck = (perl != null && python3 != null && !stdenv.isDarwin);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool for retrieving files using HTTP, HTTPS, and FTP";
|
||||
|
Loading…
Reference in New Issue
Block a user