Skip to content

Commit

Permalink
python312Packages.fastapi-mail: 1.4.1 -> 1.4.2 (#359073)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Nov 26, 2024
2 parents 94972e9 + dd13d93 commit 26bdab5
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions pkgs/development/python-modules/fastapi-mail/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -30,35 +29,32 @@ buildPythonPackage rec {
owner = "sabuhish";
repo = "fastapi-mail";
rev = "refs/tags/${version}";
hash = "sha256-2iTZqZIxlt1GKhElasTcnys18UbNNDwHoZziHBOIGBo=";
hash = "sha256-QypW7yE5jBkS1Q4XPIOktWnCmCXGoUzZF/SdWmFsPX8=";
};

pythonRelaxDeps = [
"aiosmtplib"
"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
Expand Down

0 comments on commit 26bdab5

Please sign in to comment.