mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
python310Packages.lifelines: init at 0.27.4
This commit is contained in:
parent
30ed80066d
commit
1ed35fd27d
63
pkgs/development/python-modules/lifelines/default.nix
Normal file
63
pkgs/development/python-modules/lifelines/default.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, scipy
|
||||
, pandas
|
||||
, matplotlib
|
||||
, autograd
|
||||
, autograd-gamma
|
||||
, formulaic
|
||||
, scikit-learn
|
||||
, sybil
|
||||
, flaky
|
||||
, jinja2
|
||||
, dill
|
||||
, psutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lifelines";
|
||||
version = "0.27.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CamDavidsonPilon";
|
||||
repo = "lifelines";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KDoXplqkTsk85dmcTBhbj2GDcC4ry+2z5C2QHAnBTw4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
pandas
|
||||
matplotlib
|
||||
autograd
|
||||
autograd-gamma
|
||||
formulaic
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "lifelines" ];
|
||||
|
||||
checkInputs = [
|
||||
dill
|
||||
flaky
|
||||
jinja2
|
||||
psutil
|
||||
pytestCheckHook
|
||||
scikit-learn
|
||||
sybil
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"lifelines/tests/test_estimation.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://lifelines.readthedocs.io";
|
||||
description = "Survival analysis in Python";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
@ -5492,6 +5492,8 @@ self: super: with self; {
|
||||
|
||||
life360 = callPackage ../development/python-modules/life360 { };
|
||||
|
||||
lifelines = callPackage ../development/python-modules/lifelines { };
|
||||
|
||||
lightgbm = callPackage ../development/python-modules/lightgbm { };
|
||||
|
||||
lightning-utilities = callPackage ../development/python-modules/lightning-utilities { };
|
||||
|
Loading…
Reference in New Issue
Block a user