Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 74 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, autograd, autograd-gamma, buildPythonPackage, dill, fetchFromGitHub, flaky, formulaic, jinja2, matplotlib, numpy, pandas, psutil, pytestCheckHook, pythonOlder, scikit-learn, scipy, sybil}:
buildPythonPackage rec { pname = "lifelines"; version = "0.27.7"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "CamDavidsonPilon"; repo = "lifelines"; rev = "refs/tags/v${version}"; hash = "sha256-6ulg3R59QHy31CXit8tddi6F0vPKVRZDIu0zdS19xu0="; };
propagatedBuildInputs = [ 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" ];
meta = with lib; { description = "Survival analysis in Python"; homepage = "https://lifelines.readthedocs.io"; changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ swflint ]; };}