2019-08-25 02:08:26 +01:00
|
|
|
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
2021-04-05 02:13:39 +01:00
|
|
|
, attrs, atpublic }:
|
2019-01-21 16:44:54 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiosmtpd";
|
2021-04-05 02:13:39 +01:00
|
|
|
version = "1.4.2";
|
2019-01-21 16:44:54 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2019-08-25 02:08:26 +01:00
|
|
|
# Release not published to Pypi
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aio-libs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-05 02:13:39 +01:00
|
|
|
sha256 = "0hbpyns1j1fpvpj7gyb8cz359j7l4hzfqbig74xp4xih59sih0wj";
|
2019-01-21 16:44:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-04-05 02:13:39 +01:00
|
|
|
atpublic attrs
|
2019-01-21 16:44:54 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Tests need network access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://aiosmtpd.readthedocs.io/en/latest/";
|
2019-01-21 16:44:54 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|