3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #237696 from tjni/flet

This commit is contained in:
Sandro 2023-06-16 10:54:37 +02:00 committed by GitHub
commit db55991d6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 18 deletions

View file

@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "flet-core";
version = "0.6.2";
version = "0.7.4";
format = "pyproject";
src = fetchPypi {
pname = "flet_core";
inherit version;
hash = "sha256-WMkm+47xhuYz1HsiPfF7YbOCg7Xlbj9oHI9nVtwAb/w=";
hash = "sha256-8WG7odYiGrew4GwD+MUuzQPmDn7V/GmocBproqsbCNw=";
};
nativeBuildInputs = with python3.pkgs; [

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"