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