linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / hyppo / default.nix
blob5b2869e10d192198840c063aebd50b4530cff52d
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchFromGitHub
5 , pytestCheckHook , pytestcov , numba
6 , numpy
7 , scikitlearn
8 , scipy
9 }:
11 buildPythonPackage rec {
12   pname = "hyppo";
13   version = "0.1.3";
15   disabled = isPy27;
17   src = fetchFromGitHub {
18     owner = "neurodata";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "0qdnb1l4hz4dgwhapz1fp9sb2vxxvr8h2ngsbvyf50h3kapcn19r";
22   };
24   propagatedBuildInputs = [
25     numba
26     numpy
27     scikitlearn
28     scipy
29   ];
31   checkInputs = [ pytestCheckHook pytestcov ];
32   pytestFlagsArray = [ "--ignore=docs" ];
34   meta = with lib; {
35     homepage = "https://github.com/neurodata/hyppo";
36     description = "Indepedence testing in Python";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ bcdarwin ];
39   };