diff options
Diffstat (limited to 'overlays/matrix-synapse/1.70.1/plugins')
5 files changed, 0 insertions, 98 deletions
diff --git a/overlays/matrix-synapse/1.70.1/plugins/default.nix b/overlays/matrix-synapse/1.70.1/plugins/default.nix deleted file mode 100644 index e67d9075..00000000 --- a/overlays/matrix-synapse/1.70.1/plugins/default.nix +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | { callPackage }: | ||
2 | |||
3 | { | ||
4 | matrix-synapse-ldap3 = callPackage ./ldap3.nix { }; | ||
5 | matrix-synapse-mjolnir-antispam = callPackage ./mjolnir-antispam.nix { }; | ||
6 | matrix-synapse-pam = callPackage ./pam.nix { }; | ||
7 | matrix-synapse-shared-secret-auth = callPackage ./shared-secret-auth.nix { }; | ||
8 | } | ||
diff --git a/overlays/matrix-synapse/1.70.1/plugins/ldap3.nix b/overlays/matrix-synapse/1.70.1/plugins/ldap3.nix deleted file mode 100644 index 394c0f5e..00000000 --- a/overlays/matrix-synapse/1.70.1/plugins/ldap3.nix +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | { isPy3k, buildPythonPackage, fetchPypi, service-identity, ldap3, twisted, ldaptor, mock }: | ||
2 | |||
3 | buildPythonPackage rec { | ||
4 | pname = "matrix-synapse-ldap3"; | ||
5 | version = "0.1.5"; | ||
6 | |||
7 | src = fetchPypi { | ||
8 | inherit pname version; | ||
9 | sha256 = "9fdf8df7c8ec756642aa0fea53b31c0b2f1924f70d7f049a2090b523125456fe"; | ||
10 | }; | ||
11 | |||
12 | propagatedBuildInputs = [ service-identity ldap3 twisted ]; | ||
13 | |||
14 | # ldaptor is not ready for py3 yet | ||
15 | doCheck = !isPy3k; | ||
16 | checkInputs = [ ldaptor mock ]; | ||
17 | } | ||
diff --git a/overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix b/overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix deleted file mode 100644 index 7372c2f7..00000000 --- a/overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | { lib, buildPythonPackage, fetchFromGitHub, matrix-synapse }: | ||
2 | |||
3 | buildPythonPackage rec { | ||
4 | pname = "matrix-synapse-mjolnir-antispam"; | ||
5 | version = "1.5.0"; | ||
6 | |||
7 | src = fetchFromGitHub { | ||
8 | owner = "matrix-org"; | ||
9 | repo = "mjolnir"; | ||
10 | rev = "refs/tags/v${version}"; | ||
11 | sha256 = "sha256-YmP+r9W5e63Aw66lSQeTTbYwSF/vjPyHkoehJxtcRNw="; | ||
12 | }; | ||
13 | |||
14 | sourceRoot = "./source/synapse_antispam"; | ||
15 | |||
16 | propagatedBuildInputs = [ matrix-synapse ]; | ||
17 | |||
18 | doCheck = false; # no tests | ||
19 | pythonImportsCheck = [ "mjolnir" ]; | ||
20 | |||
21 | meta = with lib; { | ||
22 | description = "AntiSpam / Banlist plugin to be used with mjolnir"; | ||
23 | longDescription = '' | ||
24 | Primarily meant to block invites from undesired homeservers/users, | ||
25 | Mjolnir's Synapse module is a way to interpret ban lists and apply | ||
26 | them to your entire homeserver. | ||
27 | ''; | ||
28 | homepage = "https://github.com/matrix-org/mjolnir#synapse-module"; | ||
29 | license = licenses.asl20; | ||
30 | maintainers = with maintainers; [ jojosch ]; | ||
31 | }; | ||
32 | } | ||
diff --git a/overlays/matrix-synapse/1.70.1/plugins/pam.nix b/overlays/matrix-synapse/1.70.1/plugins/pam.nix deleted file mode 100644 index a14fe6d6..00000000 --- a/overlays/matrix-synapse/1.70.1/plugins/pam.nix +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | { buildPythonPackage, fetchFromGitHub, twisted, python-pam }: | ||
2 | |||
3 | buildPythonPackage rec { | ||
4 | pname = "matrix-synapse-pam"; | ||
5 | version = "0.1.3"; | ||
6 | |||
7 | src = fetchFromGitHub { | ||
8 | owner = "14mRh4X0r"; | ||
9 | repo = "matrix-synapse-pam"; | ||
10 | rev = "v${version}"; | ||
11 | sha256 = "0jgz49cwiyih5cg3hr4byva04zjnq8aj7rima9874la9fc5sd2wf"; | ||
12 | }; | ||
13 | |||
14 | propagatedBuildInputs = [ twisted python-pam ]; | ||
15 | } | ||
diff --git a/overlays/matrix-synapse/1.70.1/plugins/shared-secret-auth.nix b/overlays/matrix-synapse/1.70.1/plugins/shared-secret-auth.nix deleted file mode 100644 index a6e22db3..00000000 --- a/overlays/matrix-synapse/1.70.1/plugins/shared-secret-auth.nix +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | { lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }: | ||
2 | |||
3 | buildPythonPackage rec { | ||
4 | pname = "matrix-synapse-shared-secret-auth"; | ||
5 | version = "2.0.2"; | ||
6 | |||
7 | src = fetchFromGitHub { | ||
8 | owner = "devture"; | ||
9 | repo = "matrix-synapse-shared-secret-auth"; | ||
10 | rev = version; | ||
11 | sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE="; | ||
12 | }; | ||
13 | |||
14 | doCheck = false; | ||
15 | pythonImportsCheck = [ "shared_secret_authenticator" ]; | ||
16 | |||
17 | buildInputs = [ matrix-synapse ]; | ||
18 | propagatedBuildInputs = [ twisted ]; | ||
19 | |||
20 | meta = with lib; { | ||
21 | description = "Shared Secret Authenticator password provider module for Matrix Synapse"; | ||
22 | homepage = "https://github.com/devture/matrix-synapse-shared-secret-auth"; | ||
23 | license = licenses.agpl3Plus; | ||
24 | maintainers = with maintainers; [ sumnerevans ]; | ||
25 | }; | ||
26 | } | ||