summary refs log blame commit diff
path: root/pkgs/development/python-modules/ldap.nix
blob: 95243f52a38af44b211b8249273f9ea49bbb506a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                    
{ buildPythonPackage, isPy3k, fetchurl
, openldap, cyrus_sasl, openssl }:

buildPythonPackage rec {
  name = "ldap-2.4.22";
  disabled = isPy3k;

  src = fetchurl {
    url = "mirror://pypi/p/python-ldap/python-${name}.tar.gz";
    sha256 = "1dshpq84kl4xpa0hmnjrh6q5h5bybn09r83sa3z3ybr9jlm8gxcy";
  };

  NIX_CFLAGS_COMPILE = "-I${cyrus_sasl.dev}/include/sasl";
  propagatedBuildInputs = [openldap cyrus_sasl openssl];
}