Merge pull request #272905 from wegank/flet-bump
python311Packages.flet: 0.10.1 -> 0.15.0
This commit is contained in:
commit
d25ac008ed
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flet-core";
|
pname = "flet-core";
|
||||||
version = "0.10.1";
|
version = "0.15.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "flet_core";
|
pname = "flet_core";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-YLtHnKBlXkUJJkQzxnDkfl6+gSGm05GXYPGEU3XO/jI=";
|
hash = "sha256-nmQHWyLlyo6CVzn+dlTSnA10XRoSFBLEeYdcWpfoGBo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -33,6 +33,7 @@ buildPythonPackage rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
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";
|
description = "The library is the foundation of Flet framework and is not intended to be used directly";
|
||||||
homepage = "https://flet.dev/";
|
homepage = "https://flet.dev/";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
|
42
pkgs/development/python-modules/flet-runtime/default.nix
Normal file
42
pkgs/development/python-modules/flet-runtime/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7,10 +7,12 @@
|
|||||||
|
|
||||||
# propagates
|
# propagates
|
||||||
, flet-core
|
, flet-core
|
||||||
|
, flet-runtime
|
||||||
, httpx
|
, httpx
|
||||||
, oauthlib
|
, oauthlib
|
||||||
, packaging
|
, packaging
|
||||||
, typing-extensions
|
, qrcode
|
||||||
|
, rich
|
||||||
, watchdog
|
, watchdog
|
||||||
, websocket-client
|
, websocket-client
|
||||||
, websockets
|
, websockets
|
||||||
@ -19,33 +21,29 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flet";
|
pname = "flet";
|
||||||
version = "0.10.1";
|
version = "0.15.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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 = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
flet-core
|
flet-core
|
||||||
typing-extensions
|
flet-runtime
|
||||||
websocket-client
|
websocket-client
|
||||||
watchdog
|
watchdog
|
||||||
oauthlib
|
oauthlib
|
||||||
websockets
|
websockets
|
||||||
httpx
|
httpx
|
||||||
packaging
|
packaging
|
||||||
|
qrcode
|
||||||
|
rich
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -4146,6 +4146,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
flet-core = callPackage ../development/python-modules/flet-core { };
|
flet-core = callPackage ../development/python-modules/flet-core { };
|
||||||
|
|
||||||
|
flet-runtime = callPackage ../development/python-modules/flet-runtime { };
|
||||||
|
|
||||||
flexmock = callPackage ../development/python-modules/flexmock { };
|
flexmock = callPackage ../development/python-modules/flexmock { };
|
||||||
|
|
||||||
flickrapi = callPackage ../development/python-modules/flickrapi { };
|
flickrapi = callPackage ../development/python-modules/flickrapi { };
|
||||||
|
Loading…
Reference in New Issue
Block a user