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