159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poetry-core,
|
|
charset-normalizer,
|
|
httpx,
|
|
pipdeptree,
|
|
platformdirs,
|
|
pydantic,
|
|
python-dateutil,
|
|
rich,
|
|
tabulate,
|
|
typer,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "reflex-hosting-cli";
|
|
version = "0.1.13";
|
|
pyproject = true;
|
|
|
|
# source is not published https://github.com/reflex-dev/reflex/issues/3762
|
|
src = fetchPypi {
|
|
pname = "reflex_hosting_cli";
|
|
inherit version;
|
|
hash = "sha256-xdav3P63TO4EajdN29WRFquO15fa5oj8x0TauuJNxXE=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "pipdeptree" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
charset-normalizer
|
|
httpx
|
|
pipdeptree
|
|
platformdirs
|
|
pydantic
|
|
python-dateutil
|
|
rich
|
|
tabulate
|
|
typer
|
|
websockets
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"reflex_cli"
|
|
"reflex_cli.cli"
|
|
"reflex_cli.deployments"
|
|
];
|
|
|
|
# no tests on pypi
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Reflex Hosting CLI";
|
|
homepage = "https://pypi.org/project/reflex-hosting-cli/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ pbsds ];
|
|
};
|
|
}
|