python312Packages.fastapi-mail: 1.4.1 -> 1.4.2 (#359073)

This commit is contained in:
Fabian Affolter 2024-11-26 20:35:39 +01:00 committed by GitHub
commit 26bdab53b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,27 +1,26 @@
{
lib,
aioredis,
aiosmtplib,
blinker,
buildPythonPackage,
email-validator,
fakeredis,
fastapi,
fetchFromGitHub,
httpx,
jinja2,
poetry-core,
pydantic,
pydantic-settings,
pydantic,
pytest-asyncio,
pytestCheckHook,
python-multipart,
pythonOlder,
redis,
starlette,
}:
buildPythonPackage rec {
pname = "fastapi-mail";
version = "1.4.1";
version = "1.4.2";
pyproject = true;
disabled = pythonOlder "3.8";
@ -30,7 +29,7 @@ buildPythonPackage rec {
owner = "sabuhish";
repo = "fastapi-mail";
rev = "refs/tags/${version}";
hash = "sha256-2iTZqZIxlt1GKhElasTcnys18UbNNDwHoZziHBOIGBo=";
hash = "sha256-QypW7yE5jBkS1Q4XPIOktWnCmCXGoUzZF/SdWmFsPX8=";
};
pythonRelaxDeps = [
@ -38,27 +37,24 @@ buildPythonPackage rec {
"pydantic"
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "1.2.5"' 'version = "${version}"'
'';
build-system = [ poetry-core ];
dependencies = [
aioredis
aiosmtplib
blinker
email-validator
fakeredis
fastapi
httpx
jinja2
pydantic
pydantic-settings
python-multipart
starlette
];
optional-dependencies = {
httpx = [ httpx ];
redis = [ redis ];
};
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook