c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
48 lines
856 B
Nix
48 lines
856 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, poetry-core
|
|
, pythonRelaxDepsHook
|
|
, flet-core
|
|
, httpx
|
|
, oauthlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flet-runtime";
|
|
version = "0.20.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "flet_runtime";
|
|
inherit version;
|
|
hash = "sha256-92gyaMME2R7k3AAFKsl7kIv8mVwi8pwQsGLD0ml82Q0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"httpx"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|