depot/third_party/nixpkgs/pkgs/development/python-modules/hyppo/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

40 lines
765 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytestCheckHook , pytestcov , numba
, numpy
, scikitlearn
, scipy
}:
buildPythonPackage rec {
pname = "hyppo";
version = "0.2.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "neurodata";
repo = pname;
rev = "v${version}";
sha256 = "0izjc68rb6sr3x55c3zzraakzspgzh80qykfax9zj868zypfm365";
};
propagatedBuildInputs = [
numba
numpy
scikitlearn
scipy
];
checkInputs = [ pytestCheckHook pytestcov ];
pytestFlagsArray = [ "--ignore=docs" ];
meta = with lib; {
homepage = "https://github.com/neurodata/hyppo";
description = "Indepedence testing in Python";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
};
}