summaryrefslogtreecommitdiff
path: root/overlays/matrix-synapse/1.70.1/plugins/ldap3.nix
blob: 394c0f5e58bb42111737d6f2ea846bcd328655b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ isPy3k, buildPythonPackage, fetchPypi, service-identity, ldap3, twisted, ldaptor, mock }:

buildPythonPackage rec {
  pname = "matrix-synapse-ldap3";
  version = "0.1.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "9fdf8df7c8ec756642aa0fea53b31c0b2f1924f70d7f049a2090b523125456fe";
  };

  propagatedBuildInputs = [ service-identity ldap3 twisted ];

  # ldaptor is not ready for py3 yet
  doCheck = !isPy3k;
  checkInputs = [ ldaptor mock ];
}