nixpkgs/pkgs/development/python-modules/ldap.nix

18 lines
454 B
Nix
Raw Normal View History

{ buildPythonPackage, isPy3k, fetchPypi
2017-01-13 15:21:37 +00:00
, openldap, cyrus_sasl, openssl }:
buildPythonPackage rec {
pname = "python-ldap";
version = "2.4.38";
name = "${pname}-${version}";
2017-01-13 15:21:37 +00:00
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "88bab69e519dd8bd83becbe36bd141c174b0fe309e84936cf1bae685b31be779";
2017-01-13 15:21:37 +00:00
};
NIX_CFLAGS_COMPILE = "-I${cyrus_sasl.dev}/include/sasl";
propagatedBuildInputs = [openldap cyrus_sasl openssl];
}