20 buildPythonPackage rec {
25 disabled = pythonOlder "3.7";
27 src = fetchFromGitHub {
28 owner = "alkaline-ml";
31 hash = "sha256-LHwPgQRB/vP3hBM8nqafoCrN3ZSRIMWLzqTqDOETOEc=";
35 substituteInPlace pyproject.toml \
36 --replace-fail "numpy==" "numpy>=" \
37 --replace-fail "scipy==" "scipy>=" \
38 --replace-fail "statsmodels==" "statsmodels>="
42 GITHUB_REF = "refs/tags/v${version}";
46 python build_tools/get_tag.py
49 nativeBuildInputs = [ cython ];
65 # Make sure we're running the tests for the actually installed
66 # package, so that cython's compiled files are available.
68 cd $out/${python.sitePackages}
81 pythonImportsCheck = [ "pmdarima" ];
84 description = "Statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function";
85 homepage = "https://github.com/alkaline-ml/pmdarima";
86 changelog = "https://github.com/alkaline-ml/pmdarima/releases/tag/v${version}";
87 license = lib.licenses.mit;
88 maintainers = with lib.maintainers; [ mbalatsko ];