diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index eb076f461d56..a5f5849284c5 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -1,12 +1,12 @@ -{stdenv, fetchurl, openssl}: +args: with args; stdenv.mkDerivation { name = "openldap-2.3.32"; src = fetchurl { url = ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/openldap-2.3.32.tgz; - md5 = "154d674cf95a8f8acc496cc6cb0671e1"; + sha256 = "1pw6j8ag8nm91mccwb3p9wk7ccsfdb8jz5v6a5alfrq3npyck0j8"; }; - buildInputs = [openssl]; - configureFlags = "--disable-slapd --disable-static"; + buildInputs = [openssl cyrus_sasl db4]; + configureFlags = "--disable-static"; dontPatchELF = 1; # !!! } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ec0727a1b34d..47c9d81c99ba 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1951,7 +1951,7 @@ rec { }; openldap = import ../development/libraries/openldap { - inherit fetchurl stdenv openssl; + inherit fetchurl stdenv openssl cyrus_sasl db4; }; openssl = import ../development/libraries/openssl {