1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

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;
});