1{ lib
2, buildPythonPackage
3, isPy27
4, fetchFromGitHub
5, pytestCheckHook , pytest-cov , numba
6, numpy
7, scikit-learn
8, scipy
9, matplotlib
10, seaborn
11}:
12
13buildPythonPackage rec {
14 pname = "hyppo";
15 version = "0.2.1";
16
17 disabled = isPy27;
18
19 src = fetchFromGitHub {
20 owner = "neurodata";
21 repo = pname;
22 rev = "v${version}";
23 sha256 = "0izjc68rb6sr3x55c3zzraakzspgzh80qykfax9zj868zypfm365";
24 };
25
26 propagatedBuildInputs = [
27 numba
28 numpy
29 scikit-learn
30 scipy
31 ];
32
33 checkInputs = [ pytestCheckHook pytest-cov matplotlib seaborn ];
34 disabledTestPaths = [
35 "docs"
36 "benchmarks"
37 "examples"
38 ];
39
40 meta = with lib; {
41 homepage = "https://github.com/neurodata/hyppo";
42 description = "Indepedence testing in Python";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ bcdarwin ];
45 };
46}