diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 873f62bd2945..7c4a0692962a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5562,6 +5562,12 @@ githubId = 2057309; name = "Sergey Sofeychuk"; }; + lxea = { + email = "nix@amk.ie"; + github = "lxea"; + githubId = 7910815; + name = "Alex McGrath"; + }; lynty = { email = "ltdong93+nix@gmail.com"; github = "lynty"; diff --git a/pkgs/servers/maddy/default.nix b/pkgs/servers/maddy/default.nix new file mode 100644 index 000000000000..ac3c075717ce --- /dev/null +++ b/pkgs/servers/maddy/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "maddy"; + version = "0.4.3"; + + src = fetchFromGitHub { + owner = "foxcpp"; + repo = "maddy"; + rev = "v${version}"; + sha256 = "1mi607hl4c9y9xxv5lywh9fvpybprlrgqa7617km9rssbgk4x1v7"; + }; + + vendorSha256 = "16laf864789yiakvqs6dy3sgnnp2hcdbyzif492wcijqlir2swv7"; + + buildFlagsArray = [ "-ldflags=-s -w -X github.com/foxcpp/maddy.Version=${version}" ]; + + subPackages = [ "cmd/maddy" "cmd/maddyctl" ]; + + meta = with lib; { + description = "Composable all-in-one mail server"; + homepage = "https://foxcpp.dev/maddy"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ lxea ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index caa32c330eda..57c760939ef1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19523,6 +19523,8 @@ in enableCmdlib = true; }; + maddy = callPackage ../servers/maddy/default.nix { }; + mbelib = callPackage ../development/libraries/audio/mbelib { }; mbpfan = callPackage ../os-specific/linux/mbpfan { };