|
|
@ -1,13 +1,9 @@ |
|
|
|
{ lib, stdenv, fetchurl |
|
|
|
{ lib, stdenv, fetchurl |
|
|
|
, zlibSupport ? true, zlib ? null |
|
|
|
, zlibSupport ? true, zlib |
|
|
|
, sslSupport ? true, openssl ? null |
|
|
|
, sslSupport ? true, openssl |
|
|
|
, idnSupport ? true, libidn ? null |
|
|
|
, idnSupport ? true, libidn |
|
|
|
}: |
|
|
|
}: |
|
|
|
|
|
|
|
|
|
|
|
assert zlibSupport -> zlib != null; |
|
|
|
|
|
|
|
assert sslSupport -> openssl != null; |
|
|
|
|
|
|
|
assert idnSupport -> libidn != null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
with lib; |
|
|
|
with lib; |
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{ |
|
|
|
stdenv.mkDerivation rec{ |
|
|
|