python312Packages.yoda: 2.0.1 -> 2.0.2
[NixPkgs.git] / pkgs / development / python-modules / lifelines / default.nix
blob1543ce87a88509fe7ba6b44b75f2bcd1d97336cb
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.30.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-rbt0eON8Az5jDvj97RDn3ppWyjbrSa/xumbwhq21g6g=";
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   };