diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ec71f7c881a3..2ca2e261a171 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1358,6 +1358,17 @@ let pythonPackages = python.modules // rec { }; }; + ldap = buildPythonPackage rec { + name = "python-ldap-2.4.3"; + + src = fetchurl { + url = "http://pypi.python.org/packages/source/p/python-ldap/${name}.tar.gz"; + sha256 = "17aysa9b4zjw00ikjirf4m37xbp2ifj1g0zjs14xzqqib3nh1yw8"; + }; + + NIX_CFLAGS_COMPILE = "-I${pkgs.cyrus_sasl}/include/sasl"; + propagatedBuildInputs = [pkgs.openldap pkgs.cyrus_sasl pkgs.openssl]; + }; pylint = buildPythonPackage rec { name = "pylint-0.23.0";