Commit 406b134d authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python3Packages.reflex-hosting-cli: inherit from reflex.subPkgs

parent a5afdc21
Loading
Loading
Loading
Loading
+0 −68
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  charset-normalizer,
  httpx,
  pipdeptree,
  platformdirs,
  pydantic,
  python-dateutil,
  pyyaml,
  rich,
  tabulate,
  typer,
  websockets,
}:

buildPythonPackage rec {
  pname = "reflex-hosting-cli";
  version = "0.1.62";
  pyproject = true;

  # source is not published https://github.com/reflex-dev/reflex/issues/3762
  src = fetchPypi {
    pname = "reflex_hosting_cli";
    inherit version;
    hash = "sha256-ejq4ciGKfr36LqGGuDRAMi5lj6kM9+onCuwbr+HrDZg=";
  };

  pythonRelaxDeps = [
    "click"
    "rich"
    "pipdeptree"
  ];

  build-system = [ hatchling ];

  dependencies = [
    charset-normalizer
    httpx
    pipdeptree
    platformdirs
    pydantic
    python-dateutil
    pyyaml
    rich
    tabulate
    typer
    websockets
  ];

  pythonImportsCheck = [
    "reflex_cli"
    "reflex_cli.cli"
    "reflex_cli.deployments"
  ];

  # no tests on pypi
  doCheck = false;

  meta = {
    description = "Reflex Hosting CLI";
    homepage = "https://pypi.org/project/reflex-hosting-cli/";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ pbsds ];
  };
}
+1 −1
Original line number Diff line number Diff line
@@ -16702,7 +16702,7 @@ self: super: with self; {
  reflex-chakra = callPackage ../development/python-modules/reflex-chakra { };
  reflex-hosting-cli = callPackage ../development/python-modules/reflex-hosting-cli { };
  inherit (reflex.subPkgs) reflex-hosting-cli;
  reflink = callPackage ../development/python-modules/reflink { };