Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 73 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, autograd, autograd-gamma, buildPythonPackage, dill, fetchFromGitHub, flaky, formulaic, jinja2, matplotlib, numpy, pandas, psutil, pytestCheckHook, scikit-learn, scipy, setuptools, sybil,}:
buildPythonPackage rec { pname = "lifelines"; version = "0.30.3"; pyproject = true;
src = fetchFromGitHub { owner = "CamDavidsonPilon"; repo = "lifelines"; tag = "v${version}"; hash = "sha256-A9MsQN/JGCQ4cYNIZI5LBKpRb44uI/SM8eT4/nKpsXQ="; };
build-system = [ setuptools ];
dependencies = [ autograd autograd-gamma formulaic matplotlib numpy pandas scipy ];
nativeCheckInputs = [ dill flaky jinja2 psutil pytestCheckHook scikit-learn sybil ];
pythonImportsCheck = [ "lifelines" ];
disabledTestPaths = [ "lifelines/tests/test_estimation.py" ];
disabledTests = [ "test_datetimes_to_durations_with_different_frequencies" # AssertionError "test_mice_scipy" ];
meta = { description = "Survival analysis in Python"; homepage = "https://lifelines.readthedocs.io"; changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ swflint ]; };}