My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/statsmodels/default.nix

38 lines
810 B

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, nose
, numpy
, scipy
, pandas
, patsy
, cython
, matplotlib
}:
buildPythonPackage rec {
pname = "statsmodels";
version = "0.13.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-d9wpLJk5wDakdvF3D50Il2sFQ32qIpko2nMjEUfN59Q=";
};
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 ];
};
}