summaryrefslogtreecommitdiff
path: root/overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-07 22:43:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-07 22:43:26 +0100
commit5b3c59bf26ff8b9c38f3ca78451b42ad0014a585 (patch)
tree515f43dc3a8543f6ca2e7afdd565885e8903e7e6 /overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix
parentc80473dbef4ca003642322e7243affe52eef4b06 (diff)
downloadnixos-5b3c59bf26ff8b9c38f3ca78451b42ad0014a585.tar
nixos-5b3c59bf26ff8b9c38f3ca78451b42ad0014a585.tar.gz
nixos-5b3c59bf26ff8b9c38f3ca78451b42ad0014a585.tar.bz2
nixos-5b3c59bf26ff8b9c38f3ca78451b42ad0014a585.tar.xz
nixos-5b3c59bf26ff8b9c38f3ca78451b42ad0014a585.zip
...
Diffstat (limited to 'overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix')
-rw-r--r--overlays/matrix-synapse/1.70.1/plugins/mjolnir-antispam.nix32
1 files changed, 0 insertions, 32 deletions
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
3buildPythonPackage 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}