matrix-synapse.plugins.matrix-synapse-mjolnir-antispam: mark broken on darwin, update homepage, don't propagate matrix-synapse

this package is intended to be loaded as a plugin and having potentially
two different matrix-synapses will just confuse python.
This commit is contained in:
Sandro Jäckel 2023-02-20 01:43:39 +01:00
parent 5de1815be9
commit 30e6c20c2d
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse }:
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, matrix-synapse }:
buildPythonPackage rec {
pname = "matrix-synapse-mjolnir-antispam";
@ -13,7 +13,7 @@ buildPythonPackage rec {
sourceRoot = "./source/synapse_antispam";
propagatedBuildInputs = [ matrix-synapse ];
buildInputs = [ matrix-synapse ];
doCheck = false; # no tests
pythonImportsCheck = [ "mjolnir" ];
@ -25,8 +25,9 @@ buildPythonPackage rec {
Mjolnir's Synapse module is a way to interpret ban lists and apply
them to your entire homeserver.
'';
homepage = "https://github.com/matrix-org/mjolnir#synapse-module";
homepage = "https://github.com/matrix-org/mjolnir/blob/main/docs/synapse_module.md";
license = licenses.asl20;
maintainers = with maintainers; [ jojosch ];
broken = stdenv.isDarwin;
};
}