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