mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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 {
|
||||
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;
|
||||
|
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
|
||||
, 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;
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user