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.49";
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-cIU2/hTxXtAsxn5twV8xGwAOcRfqBjeqL4dklXt5fkQ=";
29 };
30
31 pythonRelaxDeps = [
32 "rich"
33 "pipdeptree"
34 ];
35
36 build-system = [ hatchling ];
37
38 dependencies = [
39 charset-normalizer
40 httpx
41 pipdeptree
42 platformdirs
43 pydantic
44 python-dateutil
45 pyyaml
46 rich
47 tabulate
48 typer
49 websockets
50 ];
51
52 pythonImportsCheck = [
53 "reflex_cli"
54 "reflex_cli.cli"
55 "reflex_cli.deployments"
56 ];
57
58 # no tests on pypi
59 doCheck = false;
60
61 meta = with lib; {
62 description = "Reflex Hosting CLI";
63 homepage = "https://pypi.org/project/reflex-hosting-cli/";
64 license = licenses.asl20;
65 maintainers = with maintainers; [ pbsds ];
66 };
67}