matrix-synapse: factor out plugins

We build plugins separately from the server now.
This commit is contained in:
Nikolay Amiantov
2019-10-03 16:59:06 +03:00
committed by zimbatm
parent e5e4d387e1
commit 9f0da72abc
4 changed files with 31 additions and 20 deletions

View File

@@ -0,0 +1,5 @@
{ callPackage }:
{
matrix-synapse-ldap3 = callPackage ./ldap3.nix { };
}

View File

@@ -0,0 +1,17 @@
{ 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 ];
}