python3Packages.flet: init at 0.6.2
This commit is contained in:
parent
1ea1f51f80
commit
ee95722f9b
50
pkgs/development/python-modules/flet/default.nix
Normal file
50
pkgs/development/python-modules/flet/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, python3
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flet";
|
||||
version = "0.6.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-EDNATwO2N4jXVC5H1VmXqC9XGTnQo8vLvTEozRYZuj4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./pyproject.toml.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
flet-core
|
||||
typing-extensions
|
||||
websocket-client
|
||||
watchdog
|
||||
oauthlib
|
||||
websockets
|
||||
httpx
|
||||
packaging
|
||||
];
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
11
pkgs/development/python-modules/flet/pyproject.toml.patch
Normal file
11
pkgs/development/python-modules/flet/pyproject.toml.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -20,7 +20,7 @@ flet-core = "0.6.2"
|
||||
python = "^3.7"
|
||||
typing-extensions = { version = "^4.4.0", python = "<3.8" }
|
||||
websocket-client = "^1.4.2"
|
||||
-watchdog = "^2.2.1"
|
||||
+watchdog = ">=2.2.1"
|
||||
oauthlib = "^3.2.2"
|
||||
websockets = "^10.4"
|
||||
httpx = "^0.23.3"
|
@ -3671,6 +3671,8 @@ self: super: with self; {
|
||||
|
||||
fleep = callPackage ../development/python-modules/fleep { };
|
||||
|
||||
flet = callPackage ../development/python-modules/flet { };
|
||||
|
||||
flet-core = callPackage ../development/python-modules/flet-core { };
|
||||
|
||||
flexmock = callPackage ../development/python-modules/flexmock { };
|
||||
|
Loading…
Reference in New Issue
Block a user