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