2020-04-01 01:17:55 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy27
|
|
|
|
, fetchFromGitHub
|
2020-09-10 20:14:42 +01:00
|
|
|
, pytestCheckHook
|
2020-04-01 01:17:55 +01:00
|
|
|
, pytestcov
|
2020-09-10 20:14:42 +01:00
|
|
|
, hyppo
|
2020-04-01 01:17:55 +01:00
|
|
|
, matplotlib
|
|
|
|
, networkx
|
|
|
|
, numpy
|
|
|
|
, scikitlearn
|
|
|
|
, scipy
|
|
|
|
, seaborn
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "graspy";
|
2020-09-10 20:14:42 +01:00
|
|
|
version = "0.3";
|
2020-04-01 01:17:55 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neurodata";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-09-10 20:14:42 +01:00
|
|
|
sha256 = "0lab76qiryxvwl6zrcikhnxil1xywl0wkkm2vzi4v9mdzpa7w29r";
|
2020-04-01 01:17:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-09-10 20:14:42 +01:00
|
|
|
hyppo
|
2020-04-01 01:17:55 +01:00
|
|
|
matplotlib
|
|
|
|
networkx
|
|
|
|
numpy
|
|
|
|
scikitlearn
|
|
|
|
scipy
|
|
|
|
seaborn
|
|
|
|
];
|
|
|
|
|
2020-09-10 20:14:42 +01:00
|
|
|
checkInputs = [ pytestCheckHook pytestcov ];
|
|
|
|
pytestFlagsArray = [ "tests" "--ignore=docs" ];
|
|
|
|
disabledTests = [ "gridplot_outputs" ];
|
2020-04-01 01:17:55 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://graspy.neurodata.io";
|
|
|
|
description = "A package for graph statistical algorithms";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|