Commit b2d7ee37 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.statsmodels: 0.14.5 -> 0.14.6

parent af008a24
Loading
Loading
Loading
Loading
+18 −12
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  cython,
  fetchPypi,
  numpy,
  packaging,
  pandas,
  patsy,
  scipy,
  setuptools,
  setuptools-scm,
  stdenv,

  # dependencies
  packaging,
  pandas,
  patsy,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "statsmodels";
  version = "0.14.5";
  version = "0.14.6";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3iYOWMzP0s7d+DW1WjVyM9bKhToapPkPdVOlLMccbd8=";
  src = fetchFromGitHub {
    owner = "statsmodels";
    repo = "statsmodels";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Rr+7vQ+nx8XihoQQECqHlDKvk7xRTdCpQTzs5pBbqmk=";
  };

  postPatch = ''
@@ -59,7 +65,7 @@ buildPythonPackage rec {
  meta = {
    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}";
    changelog = "https://github.com/statsmodels/statsmodels/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.bsd3;
  };
}
})