12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.6";
19 src = fetchFromGitHub {
23 sha256 = "0hbpyns1j1fpvpj7gyb8cz359j7l4hzfqbig74xp4xih59sih0wj";
26 propagatedBuildInputs = [
29 ] ++ lib.optionals (pythonOlder "3.8") [
38 # Fixes for Python 3.10 can't be applied easily, https://github.com/aio-libs/aiosmtpd/pull/294
39 doCheck = pythonOlder "3.10";
44 # Seems to be a sandbox issue
48 pythonImportsCheck = [
53 description = "Asyncio based SMTP server";
54 homepage = "https://aiosmtpd.readthedocs.io/";
56 This is a server for SMTP and related protocols, similar in utility to the
57 standard library's smtpd.py module.
59 license = licenses.asl20;
60 maintainers = with maintainers; [ eadwu ];