python310Packages.flet-core: specify dependencies as function args

This commit is contained in:
Martin Weinelt 2023-07-28 16:07:00 +02:00
parent ddc1932de9
commit c7437c5836
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,7 +1,20 @@
{ lib { lib
, python3
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
# build-system
, poetry-core
# propagates
, flet-core
, httpx
, oauthlib
, packaging
, typing-extensions
, watchdog
, websocket-client
, websockets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,11 +33,11 @@ buildPythonPackage rec {
--replace 'watchdog = "^2' 'watchdog = ">=2' --replace 'watchdog = "^2' 'watchdog = ">=2'
''; '';
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = [
poetry-core poetry-core
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = [
flet-core flet-core
typing-extensions typing-extensions
websocket-client websocket-client