depot/third_party/nixpkgs/pkgs/development/python-modules/flet-runtime/default.nix

43 lines
774 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, flet-core
, httpx
, oauthlib
}:
buildPythonPackage rec {
pname = "flet-runtime";
version = "0.18.0";
format = "pyproject";
src = fetchPypi {
pname = "flet_runtime";
inherit version;
hash = "sha256-VfPTfCJXpRZsKM4ToFyl7zxbk58HT6eOYthfzAM4f88=";
};
nativeBuildInputs = [
poetry-core
];
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 ];
};
}