diff options
Diffstat (limited to 'pkgs/by-name/rs/rspamd-trainer/package.nix')
-rw-r--r-- | pkgs/by-name/rs/rspamd-trainer/package.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/by-name/rs/rspamd-trainer/package.nix b/pkgs/by-name/rs/rspamd-trainer/package.nix index 49dd46d29564f..e00bddcbfbcea 100644 --- a/pkgs/by-name/rs/rspamd-trainer/package.nix +++ b/pkgs/by-name/rs/rspamd-trainer/package.nix @@ -2,10 +2,9 @@ , python3 , python3Packages , fetchFromGitLab -, makeWrapper -, stdenv , fetchpatch , rspamd +, nixosTests }: python3Packages.buildPythonApplication { @@ -50,6 +49,8 @@ python3Packages.buildPythonApplication { imapclient ]; + passthru.tests = { inherit (nixosTests) rspamd-trainer; }; + meta = { homepage = "https://gitlab.com/onlime/rspamd-trainer"; description = "Grabs messages from a spam mailbox via IMAP and feeds them to Rspamd for training"; |