diff options
Diffstat (limited to 'pkgs/development/python-modules/aiosmtpd/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aiosmtpd/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/aiosmtpd/default.nix b/pkgs/development/python-modules/aiosmtpd/default.nix index 78ea18709d8be..ff9cb38cd6bac 100644 --- a/pkgs/development/python-modules/aiosmtpd/default.nix +++ b/pkgs/development/python-modules/aiosmtpd/default.nix @@ -9,11 +9,15 @@ pythonOlder, setuptools, typing-extensions, + + # for passthru.tests + django, + aiosmtplib, }: buildPythonPackage rec { pname = "aiosmtpd"; - version = "1.4.5"; + version = "1.4.6"; pyproject = true; disabled = pythonOlder "3.6"; @@ -22,7 +26,7 @@ buildPythonPackage rec { owner = "aio-libs"; repo = "aiosmtpd"; rev = "refs/tags/v${version}"; - hash = "sha256-8nQ4BVSLYgZHRGkbujy/olV/+GABlkDhe5wef3hyQpQ="; + hash = "sha256-Ih/xbWM9O/fFQiZezydlPlIr36fLRc2lLgdfxD5Jviw="; }; nativeBuildInputs = [ setuptools ]; @@ -49,6 +53,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "aiosmtpd" ]; + passthru.tests = { + inherit django aiosmtplib; + }; + meta = with lib; { description = "Asyncio based SMTP server"; mainProgram = "aiosmtpd"; |