python310Packages.fastapi-mail: 1.2.2 -> 1.2.4

Changelog: https://github.com/sabuhish/fastapi-mail/releases/tag/1.2.4
This commit is contained in:
Fabian Affolter 2022-12-29 15:43:13 +01:00
parent 971b57a8cd
commit a9b64306a1

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "fastapi-mail";
version = "1.2.2";
version = "1.2.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -28,12 +28,16 @@ buildPythonPackage rec {
owner = "sabuhish";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-+i/p4KVppsOkj2TEoZKmjrlnkhk2wxPg2enh2QCXiQI=";
hash = "sha256-6Iwgl15adc6wK7i8sFLeSf2HSvMo/Sx/BI44qboNnRM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'starlette = "^0.21.0"' 'starlette = "*"'
--replace 'version = "1.2.2"' 'version = "${version}"' \
--replace 'aiosmtplib = "^2.0"' 'aiosmtplib = "*"' \
--replace 'pydantic = "^1.8"' 'pydantic = "*"' \
--replace 'starlette = "^0.22.0"' 'starlette = "*"' \
--replace 'black = "^22.12.0"' ""
'';
nativeBuildInputs = [