summaryrefslogtreecommitdiff
path: root/packages/stalwart/spam-filter.nix
diff options
context:
space:
mode:
Diffstat (limited to 'packages/stalwart/spam-filter.nix')
-rw-r--r--packages/stalwart/spam-filter.nix42
1 files changed, 0 insertions, 42 deletions
diff --git a/packages/stalwart/spam-filter.nix b/packages/stalwart/spam-filter.nix
deleted file mode 100644
index 5497322..0000000
--- a/packages/stalwart/spam-filter.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- lib,
- fetchFromGithub,
- stdenv,
- stalwart,
- nix-update-script,
-}: stdenv.mkDerivation (finalAttrs: {
- pname = "spam-filter";
- version = "2.0.5";
-
- src = fetchFromGithub {
- owner = "stalwartlabs";
- repo = "spam-filter";
- tag = "v${finalAttrs.version}";
- hash = "";
- };
-
- buildPhase = ''
- bash ./build.sh
- '';
-
- installPhase = ''
- mkdir -p $out
- cp spam-filter.toml $out/
- '';
-
- passthru = {updateScript = nix-update-script {};};
-
- meta = {
- description = "Spam filter module for the Stalwart server";
- homepage = "https://github.com/stalwartlabs/spam-filter";
- changelog = "https://github.com/stalwartlabs/spam-filter/blob/${finalAttrs.src.tag}/CHANGELOG.md";
- license = with lib.licenses; [
- mit
- asl20
- ];
- # inherit (stalwart.meta) maintainers;
- };
-
-
-})
-