mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
9f0da72abc
We build plugins separately from the server now.
18 lines
453 B
Nix
18 lines
453 B
Nix
{ isPy3k, buildPythonPackage, fetchPypi, service-identity, ldap3, twisted, ldaptor, mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "matrix-synapse-ldap3";
|
|
version = "0.1.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "01bms89sl16nyh9f141idsz4mnhxvjrc3gj721wxh1fhikps0djx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ service-identity ldap3 twisted ];
|
|
|
|
# ldaptor is not ready for py3 yet
|
|
doCheck = !isPy3k;
|
|
checkInputs = [ ldaptor mock ];
|
|
}
|