22 buildPythonPackage rec {
25 format = "setuptools";
27 disabled = pythonOlder "3.9";
29 src = fetchFromGitHub {
30 owner = "CamDavidsonPilon";
32 rev = "refs/tags/v${version}";
33 hash = "sha256-9ZmecbFjUnWGNf4P3yphiMqG+/ktOYyvMtoZ6sEp1xY=";
36 propagatedBuildInputs = [
56 pythonImportsCheck = [ "lifelines" ];
58 disabledTestPaths = [ "lifelines/tests/test_estimation.py" ];
60 disabledTests = [ "test_datetimes_to_durations_with_different_frequencies" ];
63 description = "Survival analysis in Python";
64 homepage = "https://lifelines.readthedocs.io";
65 changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md";
66 license = licenses.mit;
67 maintainers = with maintainers; [ swflint ];