1{ lib 2, buildPythonPackage 3, isPy27 4, fetchFromGitHub 5, pytestCheckHook 6, pytest-cov 7, hyppo 8, matplotlib 9, networkx 10, numpy 11, scikit-learn 12, scipy 13, seaborn 14}: 15 16buildPythonPackage rec { 17 pname = "graspologic"; 18 version = "3.2.0"; 19 20 disabled = isPy27; 21 22 src = fetchFromGitHub { 23 owner = "microsoft"; 24 repo = "graspologic"; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-yXhEI/8qm526D+Ehqqfb+j+sbbh83Q4OWC+UM7cgCjU="; 27 }; 28 29 propagatedBuildInputs = [ 30 hyppo 31 matplotlib 32 networkx 33 numpy 34 scikit-learn 35 scipy 36 seaborn 37 ]; 38 39 nativeCheckInputs = [ pytestCheckHook pytest-cov ]; 40 pytestFlagsArray = [ "tests" "--ignore=docs" "--ignore=tests/test_sklearn.py" ]; 41 disabledTests = [ "gridplot_outputs" ]; 42 43 meta = with lib; { 44 homepage = "https://graspologic.readthedocs.io"; 45 description = "A package for graph statistical algorithms"; 46 license = licenses.asl20; # changing to `licenses.mit` in next release 47 maintainers = with maintainers; [ bcdarwin ]; 48 # graspologic-native is not available 49 broken = true; 50 }; 51}