1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/ldap.nix

16 lines
421 B
Nix
Raw Normal View History

2017-01-13 15:21:37 +00:00
{ 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];
}