Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 889 B view raw
1{ lib, isPy3k, fetchFromGitHub, buildPythonPackage 2, attrs, atpublic }: 3 4buildPythonPackage rec { 5 pname = "aiosmtpd"; 6 version = "1.4.2"; 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 = "0hbpyns1j1fpvpj7gyb8cz359j7l4hzfqbig74xp4xih59sih0wj"; 15 }; 16 17 propagatedBuildInputs = [ 18 atpublic attrs 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}