Merge pull request #272905 from wegank/flet-bump

python311Packages.flet: 0.10.1 -> 0.15.0
This commit is contained in:
Weijia Wang 2023-12-08 21:53:43 +01:00 committed by GitHub
commit d25ac008ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 55 additions and 12 deletions

View File

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "flet-core";
version = "0.10.1";
version = "0.15.0";
format = "pyproject";
src = fetchPypi {
pname = "flet_core";
inherit version;
hash = "sha256-YLtHnKBlXkUJJkQzxnDkfl6+gSGm05GXYPGEU3XO/jI=";
hash = "sha256-nmQHWyLlyo6CVzn+dlTSnA10XRoSFBLEeYdcWpfoGBo=";
};
nativeBuildInputs = [
@ -33,6 +33,7 @@ buildPythonPackage rec {
doCheck = false;
meta = {
changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
description = "The library is the foundation of Flet framework and is not intended to be used directly";
homepage = "https://flet.dev/";
license = lib.licenses.asl20;

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, flet-core
, httpx
, oauthlib
}:
buildPythonPackage rec {
pname = "flet-runtime";
version = "0.15.0";
format = "pyproject";
src = fetchPypi {
pname = "flet_runtime";
inherit version;
hash = "sha256-CRrAz1V6bISgL2MU7ibhhNEB5IdiQKjRdIt2dmZh0h4=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
flet-core
httpx
oauthlib
];
pythonImportsCheck = [
"flet_runtime"
];
meta = {
changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
description = "A base package for Flet desktop and Flet mobile";
homepage = "https://flet.dev/";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.wegank ];
};
}

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;

View File

@ -4146,6 +4146,8 @@ self: super: with self; {
flet-core = callPackage ../development/python-modules/flet-core { };
flet-runtime = callPackage ../development/python-modules/flet-runtime { };
flexmock = callPackage ../development/python-modules/flexmock { };
flickrapi = callPackage ../development/python-modules/flickrapi { };