python3Packages.aiosmtpd: init at 1.2

This commit is contained in:
Edmund Wu 2019-01-21 11:44:54 -05:00
parent 4adaa3c313
commit b45ecd0f70
No known key found for this signature in database
GPG Key ID: 76AA3F9F2BD3E3A0
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, isPy3k, fetchPypi, buildPythonPackage
, atpublic }:
buildPythonPackage rec {
pname = "aiosmtpd";
version = "1.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp";
};
propagatedBuildInputs = [
atpublic
];
# Tests need network access
doCheck = false;
meta = with lib; {
homepage = https://aiosmtpd.readthedocs.io/en/latest/;
description = "Asyncio based SMTP server";
longDescription = ''
This is a server for SMTP and related protocols, similar in utility to the
standard library's smtpd.py module, but rewritten to be based on asyncio for
Python 3.
'';
license = licenses.asl20;
maintainers = with maintainers; [ eadwu ];
};
}

View File

@ -1271,6 +1271,8 @@ in {
aiorpcx = callPackage ../development/python-modules/aiorpcx { };
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
aiounifi = callPackage ../development/python-modules/aiounifi { };
aiozeroconf = callPackage ../development/python-modules/aiozeroconf { };