Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 70 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, fetchFromGitHub, cython, joblib, matplotlib, numpy, pandas, scikit-learn, scipy, statsmodels, urllib3, pythonOlder, python, pytest7CheckHook,}:
buildPythonPackage rec { pname = "pmdarima"; version = "2.0.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "alkaline-ml"; repo = "pmdarima"; rev = "refs/tags/v${version}"; hash = "sha256-LHwPgQRB/vP3hBM8nqafoCrN3ZSRIMWLzqTqDOETOEc="; };
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ joblib numpy pandas scikit-learn scipy statsmodels urllib3 ];
# Make sure we're running the tests for the actually installed # package, so that cython's compiled files are available. preCheck = '' cd $out/${python.sitePackages} '';
nativeCheckInputs = [ matplotlib pytest7CheckHook ];
disabledTests = [ # touches internet "test_load_from_web" ];
pythonImportsCheck = [ "pmdarima" ];
meta = with lib; { description = "Statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function"; homepage = "https://github.com/alkaline-ml/pmdarima"; changelog = "https://github.com/alkaline-ml/pmdarima/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ]; };}