Merge pull request #112005 from lxea/maddy-init

This commit is contained in:
Sandro 2021-02-05 15:11:37 +01:00 committed by GitHub
commit 7e62cc7646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View File

@ -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";

View File

@ -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 ];
};
}

View File

@ -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 { };