c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
69 lines
1.1 KiB
Nix
69 lines
1.1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonRelaxDepsHook
|
|
|
|
# build-system
|
|
, poetry-core
|
|
|
|
# propagates
|
|
, flet-core
|
|
, flet-runtime
|
|
, httpx
|
|
, oauthlib
|
|
, packaging
|
|
, qrcode
|
|
, cookiecutter
|
|
, watchdog
|
|
, websocket-client
|
|
, websockets
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flet";
|
|
version = "0.20.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3LhQI/hjenTxG/1DZP/zn2zs00rT5BviDAQYb2vucBM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"websockets"
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
flet-core
|
|
flet-runtime
|
|
websocket-client
|
|
watchdog
|
|
oauthlib
|
|
websockets
|
|
httpx
|
|
packaging
|
|
qrcode
|
|
cookiecutter
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"flet"
|
|
];
|
|
|
|
meta = {
|
|
description = "A framework that enables you to easily build realtime web, mobile, and desktop apps in Python";
|
|
homepage = "https://flet.dev/";
|
|
changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.heyimnova ];
|
|
mainProgram = "flet";
|
|
};
|
|
}
|