a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
49 lines
881 B
Nix
49 lines
881 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, autograd
|
|
, 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 = [
|
|
autograd
|
|
numba
|
|
numpy
|
|
scikit-learn
|
|
scipy
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook matplotlib seaborn ];
|
|
disabledTestPaths = [
|
|
"docs"
|
|
"benchmarks"
|
|
"examples"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/neurodata/hyppo";
|
|
description = "Python package for multivariate hypothesis testing";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|