Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / mail / opensmtpd / filter-rspamd.nix
blobb491068d0530bc0dff222415faa61ea4cca14e70
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 ,  nixosTests
5 }:
7 buildGoModule rec {
8   pname = "opensmtpd-filter-rspamd";
9   version = "0.1.8";
11   src = fetchFromGitHub {
12     owner = "poolpOrg";
13     repo = "filter-rspamd";
14     rev = "v${version}";
15     sha256 = "sha256-Ud1irvEyYr9QDsm2PsnWoWkXoDH0WWeH73k/IbLrVf4=";
16   };
18   vendorHash = "sha256-sNF2c+22FMvKoROkA/3KtSnRdJh4YZLaIx35HD896HI=";
20   passthru.tests = {
21     opensmtpd-rspamd-integration = nixosTests.opensmtpd-rspamd;
22   };
24   meta = with lib; {
25     description = "OpenSMTPD filter integration for the Rspamd daemon";
26     homepage = "https://github.com/poolpOrg/filter-rspamd";
27     license = licenses.isc;
28     maintainers = with maintainers; [ Flakebi ];
29     mainProgram = "filter-rspamd";
30   };