python311Packages.flet: 0.10.1 -> 0.15.0

This commit is contained in:
Weijia Wang 2023-12-08 14:13:19 +01:00
parent fbffc7a0bf
commit 58bdc141c6

View File

@ -7,10 +7,12 @@
# propagates
, flet-core
, flet-runtime
, httpx
, oauthlib
, packaging
, typing-extensions
, qrcode
, rich
, watchdog
, websocket-client
, websockets
@ -19,33 +21,29 @@
buildPythonPackage rec {
pname = "flet";
version = "0.10.1";
version = "0.15.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ogy4F9/beSb3GCpwPsN+8hsVroRoHTSojqg+5eXwcRI=";
hash = "sha256-NnozZX8i5QsnVRW5cyIvKxYuHf9EoR6owWSQw6Y4dwQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'httpx = "^0.23' 'httpx = ">=0.23' \
--replace 'watchdog = "^2' 'watchdog = ">=2'
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
flet-core
typing-extensions
flet-runtime
websocket-client
watchdog
oauthlib
websockets
httpx
packaging
qrcode
rich
];
doCheck = false;