Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 876 B view raw
1{ lib, isPy3k, fetchFromGitHub, buildPythonPackage 2, atpublic }: 3 4buildPythonPackage rec { 5 pname = "aiosmtpd"; 6 version = "1.2.1"; 7 disabled = !isPy3k; 8 9 # Release not published to Pypi 10 src = fetchFromGitHub { 11 owner = "aio-libs"; 12 repo = pname; 13 rev = version; 14 sha256 = "14c30dm6jzxiblnsah53fdv68vqhxwvb9x0aq9bc4vcdas747vr7"; 15 }; 16 17 propagatedBuildInputs = [ 18 atpublic 19 ]; 20 21 # Tests need network access 22 doCheck = false; 23 24 meta = with lib; { 25 homepage = "https://aiosmtpd.readthedocs.io/en/latest/"; 26 description = "Asyncio based SMTP server"; 27 longDescription = '' 28 This is a server for SMTP and related protocols, similar in utility to the 29 standard library's smtpd.py module, but rewritten to be based on asyncio for 30 Python 3. 31 ''; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ eadwu ]; 34 }; 35}