python3.pkgs.smtpdfix: init at 0.5.1

This commit is contained in:
Yureka 2023-11-30 13:25:25 +01:00
parent 988d52941d
commit 013f3808ed
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytest
, portpicker
, cryptography
, aiosmtpd
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "smtpdfix";
version = "0.5.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-882i0T6EySZ6jxOgoM11MU+ha41XfKjDDhUjeX7qvp4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiosmtpd
cryptography
portpicker
pytest
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
meta = with lib; {
description = "An SMTP server for use as a pytest fixture for testing";
homepage = "https://github.com/bebleo/smtpdfix";
changelog = "https://github.com/bebleo/smtpdfix/releases/tag/v${version}";
license = licenses.mit;
maintainers = teams.wdz.members;
};
}

View File

@ -13246,6 +13246,8 @@ self: super: with self; {
smpp_pdu = callPackage ../development/python-modules/smpp.pdu { };
smtpdfix = callPackage ../development/python-modules/smtpdfix { };
snack = toPythonModule (pkgs.newt.override {
inherit (self) python;
});