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.

48 lines
833 B
Nix
Raw Normal View History

2020-09-10 20:13:57 +01:00
{ lib
, buildPythonPackage
2021-12-08 18:45:03 +00:00
, pythonOlder
2020-09-10 20:13:57 +01:00
, fetchFromGitHub
2021-12-08 18:45:03 +00:00
, pytestCheckHook
, numba
2020-09-10 20:13:57 +01:00
, numpy
, scikit-learn
2020-09-10 20:13:57 +01:00
, scipy
2021-05-09 00:40:06 +01:00
, matplotlib
, seaborn
2020-09-10 20:13:57 +01:00
}:
buildPythonPackage rec {
pname = "hyppo";
2021-12-08 07:10:54 +00:00
version = "0.2.2";
2020-09-10 20:13:57 +01:00
2021-12-08 18:45:03 +00:00
disabled = pythonOlder "3.6";
2020-09-10 20:13:57 +01:00
src = fetchFromGitHub {
owner = "neurodata";
repo = pname;
rev = "v${version}";
2021-12-08 07:10:54 +00:00
sha256 = "1wrzrppyjq0pc03bn6qcslxzcnwn7fr2z5lm71gfpli5k05i26nr";
2020-09-10 20:13:57 +01:00
};
propagatedBuildInputs = [
numba
numpy
scikit-learn
2020-09-10 20:13:57 +01:00
scipy
];
2021-12-08 18:45:03 +00:00
checkInputs = [ pytestCheckHook matplotlib seaborn ];
2021-05-09 00:40:06 +01:00
disabledTestPaths = [
"docs"
"benchmarks"
"examples"
];
2020-09-10 20:13:57 +01:00
meta = with lib; {
homepage = "https://github.com/neurodata/hyppo";
description = "Indepedence testing in Python";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
};
}