python310Packages.fastapi: 0.79.1 -> 0.85.0

This commit is contained in:
Fabian Affolter 2022-09-25 23:28:07 +02:00 committed by Jonathan Ringer
parent f225c0c5c7
commit a8b721d496

View File

@ -9,6 +9,8 @@
, databases
, flask
, httpx
, hatchling
, orjson
, passlib
, peewee
, python-jose
@ -19,18 +21,22 @@
buildPythonPackage rec {
pname = "fastapi";
version = "0.79.1";
format = "flit";
version = "0.85.0";
format = "pyproject";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tiangolo";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-vriEwUcdITKLeIy1++dvsl5Guhtjlk2WZQrprVQsYMc=";
hash = "sha256-mgrw5MQMqFcXExtsu/jW01dMlygfE1GzSqXHI6BG7j4=";
};
nativeBuildInputs = [
hatchling
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "starlette==" "starlette>="
@ -46,6 +52,7 @@ buildPythonPackage rec {
databases
flask
httpx
orjson
passlib
peewee
python-jose