Skip to content

Commit 26bdab5

Browse files
authored
python312Packages.fastapi-mail: 1.4.1 -> 1.4.2 (#359073)
2 parents 94972e9 + dd13d93 commit 26bdab5

File tree

1 file changed

+11
-15
lines changed
  • pkgs/development/python-modules/fastapi-mail

1 file changed

+11
-15
lines changed

pkgs/development/python-modules/fastapi-mail/default.nix

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
{
22
lib,
3-
aioredis,
43
aiosmtplib,
54
blinker,
65
buildPythonPackage,
76
email-validator,
87
fakeredis,
9-
fastapi,
108
fetchFromGitHub,
119
httpx,
1210
jinja2,
1311
poetry-core,
14-
pydantic,
1512
pydantic-settings,
13+
pydantic,
1614
pytest-asyncio,
1715
pytestCheckHook,
18-
python-multipart,
1916
pythonOlder,
17+
redis,
18+
starlette,
2019
}:
2120

2221
buildPythonPackage rec {
2322
pname = "fastapi-mail";
24-
version = "1.4.1";
23+
version = "1.4.2";
2524
pyproject = true;
2625

2726
disabled = pythonOlder "3.8";
@@ -30,35 +29,32 @@ buildPythonPackage rec {
3029
owner = "sabuhish";
3130
repo = "fastapi-mail";
3231
rev = "refs/tags/${version}";
33-
hash = "sha256-2iTZqZIxlt1GKhElasTcnys18UbNNDwHoZziHBOIGBo=";
32+
hash = "sha256-QypW7yE5jBkS1Q4XPIOktWnCmCXGoUzZF/SdWmFsPX8=";
3433
};
3534

3635
pythonRelaxDeps = [
3736
"aiosmtplib"
3837
"pydantic"
3938
];
4039

41-
postPatch = ''
42-
substituteInPlace pyproject.toml \
43-
--replace-fail 'version = "1.2.5"' 'version = "${version}"'
44-
'';
45-
4640
build-system = [ poetry-core ];
4741

4842
dependencies = [
49-
aioredis
5043
aiosmtplib
5144
blinker
5245
email-validator
5346
fakeredis
54-
fastapi
55-
httpx
5647
jinja2
5748
pydantic
5849
pydantic-settings
59-
python-multipart
50+
starlette
6051
];
6152

53+
optional-dependencies = {
54+
httpx = [ httpx ];
55+
redis = [ redis ];
56+
};
57+
6258
nativeCheckInputs = [
6359
pytest-asyncio
6460
pytestCheckHook

0 commit comments

Comments
 (0)