2020-06-18 07:06:33 +00:00
|
|
|
{ isPy3k, buildPythonPackage, fetchPypi, service-identity, ldap3, twisted, ldaptor, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "matrix-synapse-ldap3";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.1.5";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "9fdf8df7c8ec756642aa0fea53b31c0b2f1924f70d7f049a2090b523125456fe";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ service-identity ldap3 twisted ];
|
|
|
|
|
|
|
|
# ldaptor is not ready for py3 yet
|
|
|
|
doCheck = !isPy3k;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ ldaptor mock ];
|
2020-06-18 07:06:33 +00:00
|
|
|
}
|