nixpkgs/pkgs/development/python-modules/hyppo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
879 B
Nix
Raw Normal View History

2020-09-10 19:13:57 +00:00
{ lib
, buildPythonPackage
2021-12-08 18:45:03 +00:00
, pythonOlder
2020-09-10 19:13:57 +00:00
, fetchFromGitHub
2021-12-08 18:45:03 +00:00
, pytestCheckHook
2022-04-23 17:56:56 +00:00
, autograd
2021-12-08 18:45:03 +00:00
, numba
2020-09-10 19:13:57 +00:00
, numpy
, scikit-learn
2020-09-10 19:13:57 +00:00
, scipy
2021-05-08 23:40:06 +00:00
, matplotlib
, seaborn
2020-09-10 19:13:57 +00:00
}:
buildPythonPackage rec {
pname = "hyppo";
2022-03-02 21:42:01 +00:00
version = "0.3.2";
2020-09-10 19:13:57 +00:00
2021-12-08 18:45:03 +00:00
disabled = pythonOlder "3.6";
2020-09-10 19:13:57 +00:00
src = fetchFromGitHub {
owner = "neurodata";
repo = pname;
rev = "v${version}";
hash = "sha256-DQ5DrQrFBJ3dnGAjD1c/7GCJeR3g+aL2poR4hwOvmPA=";
2020-09-10 19:13:57 +00:00
};
propagatedBuildInputs = [
2022-04-23 17:56:56 +00:00
autograd
2020-09-10 19:13:57 +00:00
numba
numpy
scikit-learn
2020-09-10 19:13:57 +00:00
scipy
];
nativeCheckInputs = [ pytestCheckHook matplotlib seaborn ];
2021-05-08 23:40:06 +00:00
disabledTestPaths = [
"docs"
"benchmarks"
"examples"
];
2020-09-10 19:13:57 +00:00
meta = with lib; {
homepage = "https://github.com/neurodata/hyppo";
2022-04-23 17:56:56 +00:00
description = "Python package for multivariate hypothesis testing";
license = licenses.mit;
2020-09-10 19:13:57 +00:00
maintainers = with maintainers; [ bcdarwin ];
};
}