2020-09-10 20:13:57 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy27
|
|
|
|
, fetchFromGitHub
|
2021-07-20 21:42:24 +01:00
|
|
|
, pytestCheckHook , pytest-cov , numba
|
2020-09-10 20:13:57 +01:00
|
|
|
, numpy
|
2021-05-14 19:46:36 +01:00
|
|
|
, scikit-learn
|
2020-09-10 20:13:57 +01:00
|
|
|
, scipy
|
2021-05-09 00:40:06 +01:00
|
|
|
, matplotlib
|
|
|
|
, seaborn
|
2020-09-10 20:13:57 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hyppo";
|
2021-03-24 17:41:50 +00:00
|
|
|
version = "0.2.1";
|
2020-09-10 20:13:57 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neurodata";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-24 17:41:50 +00:00
|
|
|
sha256 = "0izjc68rb6sr3x55c3zzraakzspgzh80qykfax9zj868zypfm365";
|
2020-09-10 20:13:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numba
|
|
|
|
numpy
|
2021-05-14 19:46:36 +01:00
|
|
|
scikit-learn
|
2020-09-10 20:13:57 +01:00
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
2021-07-20 21:42:24 +01:00
|
|
|
checkInputs = [ pytestCheckHook pytest-cov matplotlib seaborn ];
|
2021-05-09 00:40:06 +01:00
|
|
|
disabledTestPaths = [
|
|
|
|
"docs"
|
|
|
|
"benchmarks"
|
|
|
|
"examples"
|
|
|
|
];
|
2020-09-10 20:13:57 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/neurodata/hyppo";
|
|
|
|
description = "Indepedence testing in Python";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|