1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 charset-normalizer,
7 httpx,
8 pipdeptree,
9 platformdirs,
10 pydantic,
11 python-dateutil,
12 pyyaml,
13 rich,
14 tabulate,
15 typer,
16 websockets,
17}:
18
19buildPythonPackage rec {
20 pname = "reflex-hosting-cli";
21 version = "0.1.56";
22 pyproject = true;
23
24 # source is not published https://github.com/reflex-dev/reflex/issues/3762
25 src = fetchPypi {
26 pname = "reflex_hosting_cli";
27 inherit version;
28 hash = "sha256-spuwor7g7lmsTxx77sxyfpFMPAq3P8SlNqWzPCN/QLc=";
29 };
30
31 pythonRelaxDeps = [
32 "click"
33 "rich"
34 "pipdeptree"
35 ];
36
37 build-system = [ hatchling ];
38
39 dependencies = [
40 charset-normalizer
41 httpx
42 pipdeptree
43 platformdirs
44 pydantic
45 python-dateutil
46 pyyaml
47 rich
48 tabulate
49 typer
50 websockets
51 ];
52
53 pythonImportsCheck = [
54 "reflex_cli"
55 "reflex_cli.cli"
56 "reflex_cli.deployments"
57 ];
58
59 # no tests on pypi
60 doCheck = false;
61
62 meta = with lib; {
63 description = "Reflex Hosting CLI";
64 homepage = "https://pypi.org/project/reflex-hosting-cli/";
65 license = licenses.asl20;
66 maintainers = with maintainers; [ pbsds ];
67 };
68}