18 buildPythonPackage rec {
23 disabled = pythonOlder "3.6";
25 src = fetchFromGitHub {
29 hash = "sha256-Ih/xbWM9O/fFQiZezydlPlIr36fLRc2lLgdfxD5Jviw=";
32 nativeBuildInputs = [ setuptools ];
34 propagatedBuildInputs = [
37 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
44 # Fixes for Python 3.10 can't be applied easily, https://github.com/aio-libs/aiosmtpd/pull/294
45 doCheck = pythonOlder "3.10";
50 # Seems to be a sandbox issue
54 pythonImportsCheck = [ "aiosmtpd" ];
57 inherit django aiosmtplib;
61 description = "Asyncio based SMTP server";
62 mainProgram = "aiosmtpd";
63 homepage = "https://aiosmtpd.readthedocs.io/";
64 changelog = "https://github.com/aio-libs/aiosmtpd/releases/tag/v${version}";
66 This is a server for SMTP and related protocols, similar in utility to the
67 standard library's smtpd.py module.
69 license = licenses.asl20;
70 maintainers = with maintainers; [ eadwu ];