Unverified Commit 0cef3a0d authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #229438 from fabaff/lifelines-bump

python310Packages.lifelines: 0.27.4 -> 0.27.7
parents e6e3e4da 625ac9ae
Loading
Loading
Loading
Loading
+35 −24
Original line number Diff line number Diff line
{ lib
, autograd
, autograd-gamma
, buildPythonPackage
, dill
, fetchFromGitHub
, pytestCheckHook
, flaky
, formulaic
, jinja2
, matplotlib
, numpy
, scipy
, pandas
, matplotlib
, autograd
, autograd-gamma
, formulaic
, psutil
, pytestCheckHook
, pythonOlder
, scikit-learn
, scipy
, sybil
, flaky
, jinja2
, dill
, psutil
}:

buildPythonPackage rec {
  pname = "lifelines";
  version = "0.27.4";
  version = "0.27.7";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "CamDavidsonPilon";
    repo = "lifelines";
    rev = "v${version}";
    hash = "sha256-KDoXplqkTsk85dmcTBhbj2GDcC4ry+2z5C2QHAnBTw4=";
    rev = "refs/tags/v${version}";
    hash = "sha256-6ulg3R59QHy31CXit8tddi6F0vPKVRZDIu0zdS19xu0=";
  };

  propagatedBuildInputs = [
    numpy
    scipy
    pandas
    matplotlib
    autograd
    autograd-gamma
    formulaic
    matplotlib
    numpy
    pandas
    scipy
  ];

  pythonImportsCheck = [ "lifelines" ];

  checkInputs = [
  nativeCheckInputs = [
    dill
    flaky
    jinja2
@@ -50,14 +52,23 @@ buildPythonPackage rec {
    sybil
  ];

  pythonImportsCheck = [
    "lifelines"
  ];

  disabledTestPaths = [
    "lifelines/tests/test_estimation.py"
  ];

  meta = {
    homepage = "https://lifelines.readthedocs.io";
  disabledTests = [
    "test_datetimes_to_durations_with_different_frequencies"
  ];

  meta = with lib; {
    description = "Survival analysis in Python";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ swflint ];
    homepage = "https://lifelines.readthedocs.io";
    changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ swflint ];
  };
}