1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, pytestCheckHook
6, autograd
7, numba
8, numpy
9, scikit-learn
10, scipy
11, matplotlib
12, seaborn
13}:
14
15buildPythonPackage rec {
16 pname = "hyppo";
17 version = "0.4.0";
18
19 disabled = pythonOlder "3.6";
20
21 src = fetchFromGitHub {
22 owner = "neurodata";
23 repo = pname;
24 rev = "refs/tags/v${version}";
25 hash = "sha256-QRE3oSxTEobTQ/7DzCAUOdjzIZmWUn9bgPmJWj6JuZg=";
26 };
27
28 propagatedBuildInputs = [
29 autograd
30 numba
31 numpy
32 scikit-learn
33 scipy
34 ];
35
36 nativeCheckInputs = [ pytestCheckHook matplotlib seaborn ];
37 disabledTestPaths = [
38 "docs"
39 "benchmarks"
40 "examples"
41 ];
42
43 meta = with lib; {
44 homepage = "https://github.com/neurodata/hyppo";
45 description = "Python package for multivariate hypothesis testing";
46 license = licenses.mit;
47 maintainers = with maintainers; [ bcdarwin ];
48 };
49}