forked from mirrors/nixpkgs
Merge pull request #237696 from tjni/flet
This commit is contained in:
commit
db55991d6f
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flet-core";
|
pname = "flet-core";
|
||||||
version = "0.6.2";
|
version = "0.7.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "flet_core";
|
pname = "flet_core";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-WMkm+47xhuYz1HsiPfF7YbOCg7Xlbj9oHI9nVtwAb/w=";
|
hash = "sha256-8WG7odYiGrew4GwD+MUuzQPmDn7V/GmocBproqsbCNw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
|
|
@ -6,17 +6,19 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flet";
|
pname = "flet";
|
||||||
version = "0.6.2";
|
version = "0.7.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-EDNATwO2N4jXVC5H1VmXqC9XGTnQo8vLvTEozRYZuj4=";
|
hash = "sha256-vFPjN+5wIygtP035odAOSdF9PQe6eXz6CJ9Q0d8ScFo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
postPatch = ''
|
||||||
./pyproject.toml.patch
|
substituteInPlace pyproject.toml \
|
||||||
];
|
--replace 'httpx = "^0.23' 'httpx = ">=0.23' \
|
||||||
|
--replace 'watchdog = "^2' 'watchdog = ">=2'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
|
|
@ -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"
|
|
Loading…
Reference in a new issue