bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
47 lines
832 B
Nix
47 lines
832 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, numba
|
|
, numpy
|
|
, scikit-learn
|
|
, scipy
|
|
, matplotlib
|
|
, seaborn
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hyppo";
|
|
version = "0.3.2";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neurodata";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-DQ5DrQrFBJ3dnGAjD1c/7GCJeR3g+aL2poR4hwOvmPA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
numba
|
|
numpy
|
|
scikit-learn
|
|
scipy
|
|
];
|
|
|
|
checkInputs = [ pytestCheckHook matplotlib seaborn ];
|
|
disabledTestPaths = [
|
|
"docs"
|
|
"benchmarks"
|
|
"examples"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/neurodata/hyppo";
|
|
description = "Indepedence testing in Python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|