summary refs log blame commit diff
path: root/pkgs/development/python-modules/hyppo/default.nix
blob: 8dcca1983ba3c066bc3c9bd4d31c1a58e0b9d292 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                    
                                      
       
              
       

            



                        
                    






                         
                                                                    




                           
                


         
                                                                  




                       







                                                    
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytestCheckHook , pytest-cov , numba
, numpy
, scikit-learn
, scipy
, matplotlib
, seaborn
}:

buildPythonPackage rec {
  pname = "hyppo";
  version = "0.2.1";

  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "neurodata";
    repo = pname;
    rev = "v${version}";
    sha256 = "0izjc68rb6sr3x55c3zzraakzspgzh80qykfax9zj868zypfm365";
  };

  propagatedBuildInputs = [
    numba
    numpy
    scikit-learn
    scipy
  ];

  checkInputs = [ pytestCheckHook pytest-cov matplotlib seaborn ];
  disabledTestPaths = [
    "docs"
    "benchmarks"
    "examples"
  ];

  meta = with lib; {
    homepage = "https://github.com/neurodata/hyppo";
    description = "Indepedence testing in Python";
    license = licenses.asl20;
    maintainers = with maintainers; [ bcdarwin ];
  };
}