Merge pull request #239870 from fabaff/fastapi-mail-bump

python311Packages.fastapi-mail: 1.2.8 -> 1.3.0
This commit is contained in:
Nick Cao 2023-06-26 20:48:38 +08:00 committed by GitHub
commit 909e59dfd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,25 +19,23 @@
buildPythonPackage rec {
pname = "fastapi-mail";
version = "1.2.8";
version = "1.3.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "sabuhish";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-9u7+TYO0TmzyLcCxZL86ibC3hNH5b722t5fWimRHaW0=";
hash = "sha256-ttVzjmMZe1iWn2J7N5pcol4GFnKv3CB3DOQkZU2HnHg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "1.2.2"' 'version = "${version}"' \
--replace 'version = "1.2.5"' 'version = "${version}"' \
--replace 'aiosmtplib = "^2.0"' 'aiosmtplib = "*"' \
--replace 'pydantic = "^1.8"' 'pydantic = "*"' \
--replace 'starlette = "^0.22.0"' 'starlette = "*"' \
--replace 'black = "^22.12.0"' ""
'';
nativeBuildInputs = [