mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python3.pkgs.smtpdfix: init at 0.5.1
This commit is contained in:
parent
988d52941d
commit
013f3808ed
46
pkgs/development/python-modules/smtpdfix/default.nix
Normal file
46
pkgs/development/python-modules/smtpdfix/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user