Merge pull request #282455 from dotlambda/flet-fix

python311Packages.flet: fix build
This commit is contained in:
Weijia Wang 2024-01-21 05:48:04 +01:00 committed by GitHub
commit 3f55a21fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonRelaxDepsHook
, flet-core
, httpx
, oauthlib
@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "flet-runtime";
version = "0.18.0";
format = "pyproject";
pyproject = true;
src = fetchPypi {
pname = "flet_runtime";
@ -20,6 +21,11 @@ buildPythonPackage rec {
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"httpx"
];
propagatedBuildInputs = [

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonRelaxDepsHook
# build-system
, poetry-core
@ -22,7 +23,7 @@
buildPythonPackage rec {
pname = "flet";
version = "0.18.0";
format = "pyproject";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -31,6 +32,11 @@ buildPythonPackage rec {
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"websockets"
];
propagatedBuildInputs = [