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

View File

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