22 buildPythonPackage rec {
27 disabled = pythonOlder "3.7";
29 src = fetchFromGitHub {
33 hash = "sha256-vvSn2sVs6KZsTAKPuq9irlHgM1BmpkG8LJbvcu8ohd0=";
36 sourceRoot = "${src.name}/python";
38 env.PROPHET_REPACKAGE_CMDSTAN = "false";
40 nativeBuildInputs = [ setuptools ];
42 propagatedBuildInputs = [
52 optional-dependencies.parallel = [
55 ] ++ dask.optional-dependencies.dataframe;
58 # use the generated files from $out for testing
63 nativeCheckInputs = [ pytestCheckHook ];
65 pythonImportsCheck = [ "prophet" ];
68 changelog = "https://github.com/facebook/prophet/releases/tag/${src.rev}";
69 description = "Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth";
70 homepage = "https://facebook.github.io/prophet/";
71 license = lib.licenses.mit;
72 maintainers = with lib.maintainers; [ tomasajt ];