python310Packages.flet: 0.6.2 -> 0.7.4

This commit is contained in:
Theodore Ni 2023-06-14 00:25:04 -07:00
parent 73e539e956
commit 2b406e21e3
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 7 additions and 16 deletions

View File

@ -6,17 +6,19 @@
buildPythonPackage rec {
pname = "flet";
version = "0.6.2";
version = "0.7.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-EDNATwO2N4jXVC5H1VmXqC9XGTnQo8vLvTEozRYZuj4=";
hash = "sha256-vFPjN+5wIygtP035odAOSdF9PQe6eXz6CJ9Q0d8ScFo=";
};
patches = [
./pyproject.toml.patch
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'httpx = "^0.23' 'httpx = ">=0.23' \
--replace 'watchdog = "^2' 'watchdog = ">=2'
'';
nativeBuildInputs = with python3.pkgs; [
poetry-core

View File

@ -1,11 +0,0 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,7 +20,7 @@ flet-core = "0.6.2"
python = "^3.7"
typing-extensions = { version = "^4.4.0", python = "<3.8" }
websocket-client = "^1.4.2"
-watchdog = "^2.2.1"
+watchdog = ">=2.2.1"
oauthlib = "^3.2.2"
websockets = "^10.4"
httpx = "^0.23.3"