mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
python3Packages.aiosmtpd: init at 1.2
This commit is contained in:
parent
4adaa3c313
commit
b45ecd0f70
32
pkgs/development/python-modules/aiosmtpd/default.nix
Normal file
32
pkgs/development/python-modules/aiosmtpd/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, isPy3k, fetchPypi, buildPythonPackage
|
||||
, atpublic }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosmtpd";
|
||||
version = "1.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
atpublic
|
||||
];
|
||||
|
||||
# Tests need network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://aiosmtpd.readthedocs.io/en/latest/;
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1271,6 +1271,8 @@ in {
|
|||
|
||||
aiorpcx = callPackage ../development/python-modules/aiorpcx { };
|
||||
|
||||
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
|
||||
|
||||
aiounifi = callPackage ../development/python-modules/aiounifi { };
|
||||
|
||||
aiozeroconf = callPackage ../development/python-modules/aiozeroconf { };
|
||||
|
|
Loading…
Reference in a new issue