depot/third_party/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

53 lines
977 B
Nix

{ lib
, buildPythonPackage
, cython
, fetchPypi
, matplotlib
, numpy
, pandas
, patsy
, pythonOlder
, scipy
, setuptools-scm
}:
buildPythonPackage rec {
pname = "statsmodels";
version = "0.14.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-aHXH1onpZtlI8V64FqtWFvSShwaxgM9HD9WQerb2R6Q=";
};
nativeBuildInputs = [
cython
setuptools-scm
];
propagatedBuildInputs = [
numpy
scipy
pandas
patsy
matplotlib
];
# Huge test suites with several test failures
doCheck = false;
pythonImportsCheck = [
"statsmodels"
];
meta = with lib; {
description = "Statistical computations and models for use with SciPy";
homepage = "https://www.github.com/statsmodels/statsmodels";
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};
}