biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / lifelines / default.nix
blobec823cf5fbf4a84d813e49ddcac0d534447fdbb1
2   lib,
3   autograd,
4   autograd-gamma,
5   buildPythonPackage,
6   dill,
7   fetchFromGitHub,
8   flaky,
9   formulaic,
10   jinja2,
11   matplotlib,
12   numpy,
13   pandas,
14   psutil,
15   pytestCheckHook,
16   pythonOlder,
17   scikit-learn,
18   scipy,
19   sybil,
22 buildPythonPackage rec {
23   pname = "lifelines";
24   version = "0.29.0";
25   format = "setuptools";
27   disabled = pythonOlder "3.9";
29   src = fetchFromGitHub {
30     owner = "CamDavidsonPilon";
31     repo = "lifelines";
32     rev = "refs/tags/v${version}";
33     hash = "sha256-9ZmecbFjUnWGNf4P3yphiMqG+/ktOYyvMtoZ6sEp1xY=";
34   };
36   propagatedBuildInputs = [
37     autograd
38     autograd-gamma
39     formulaic
40     matplotlib
41     numpy
42     pandas
43     scipy
44   ];
46   nativeCheckInputs = [
47     dill
48     flaky
49     jinja2
50     psutil
51     pytestCheckHook
52     scikit-learn
53     sybil
54   ];
56   pythonImportsCheck = [ "lifelines" ];
58   disabledTestPaths = [ "lifelines/tests/test_estimation.py" ];
60   disabledTests = [ "test_datetimes_to_durations_with_different_frequencies" ];
62   meta = with lib; {
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 ];
68   };