Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 68 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, atpublic, attrs, buildPythonPackage, fetchFromGitHub, pytest-mock, pytestCheckHook, setuptools,
# for passthru.tests django, aiosmtplib,}:
buildPythonPackage rec { pname = "aiosmtpd"; version = "1.4.6"; pyproject = true;
src = fetchFromGitHub { owner = "aio-libs"; repo = "aiosmtpd"; tag = "v${version}"; hash = "sha256-Ih/xbWM9O/fFQiZezydlPlIr36fLRc2lLgdfxD5Jviw="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ atpublic attrs ];
nativeCheckInputs = [ pytest-mock pytestCheckHook ];
# Fixes can't be applied easily, https://github.com/aio-libs/aiosmtpd/pull/294 doCheck = false;
disabledTests = [ # Requires git "test_ge_master" # Seems to be a sandbox issue "test_byclient" ];
pythonImportsCheck = [ "aiosmtpd" ];
passthru.tests = { inherit django aiosmtplib; };
meta = { description = "Asyncio based SMTP server"; mainProgram = "aiosmtpd"; homepage = "https://aiosmtpd.readthedocs.io/"; changelog = "https://github.com/aio-libs/aiosmtpd/releases/tag/v${version}"; longDescription = '' This is a server for SMTP and related protocols, similar in utility to the standard library's smtpd.py module. ''; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ eadwu ]; };}