2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-12-24 04:21:11 +00:00
|
|
|
, pythonOlder
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchFromGitHub
|
2021-12-24 04:21:11 +00:00
|
|
|
, pytestCheckHook
|
2022-04-27 09:35:20 +00:00
|
|
|
, autograd
|
2021-12-24 04:21:11 +00:00
|
|
|
, numba
|
2020-09-25 04:45:31 +00:00
|
|
|
, numpy
|
2021-05-20 23:08:51 +00:00
|
|
|
, scikit-learn
|
2020-09-25 04:45:31 +00:00
|
|
|
, scipy
|
2021-05-20 23:08:51 +00:00
|
|
|
, matplotlib
|
|
|
|
, seaborn
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hyppo";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "0.3.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neurodata";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-DQ5DrQrFBJ3dnGAjD1c/7GCJeR3g+aL2poR4hwOvmPA=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
autograd
|
2020-09-25 04:45:31 +00:00
|
|
|
numba
|
|
|
|
numpy
|
2021-05-20 23:08:51 +00:00
|
|
|
scikit-learn
|
2020-09-25 04:45:31 +00:00
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook matplotlib seaborn ];
|
2021-05-20 23:08:51 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
"docs"
|
|
|
|
"benchmarks"
|
|
|
|
"examples"
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/neurodata/hyppo";
|
2022-04-27 09:35:20 +00:00
|
|
|
description = "Python package for multivariate hypothesis testing";
|
|
|
|
license = licenses.mit;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|