depot/third_party/nixpkgs/pkgs/development/python-modules/statsmodels/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

37 lines
802 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
, numpy
, scipy
, pandas
, patsy
, cython
, matplotlib
}:
buildPythonPackage rec {
pname = "statsmodels";
version = "0.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "5bde3fa0a35a91b45dba7cbc28270b5b649ff1d721c89290883f6e831672d5f0";
};
nativeBuildInputs = [ cython ];
checkInputs = [ nose ];
propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ];
# Huge test suites with several test failures
doCheck = false;
pythonImportsCheck = [ "statsmodels" ];
meta = {
description = "Statistical computations and models for use with SciPy";
homepage = "https://www.github.com/statsmodels/statsmodels";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}