1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 scikit-learn, 7 numpy, 8 scipy, 9 jinja2, 10 pytestCheckHook, 11 networkx, 12 matplotlib, 13 igraph, 14 plotly, 15 ipywidgets, 16}: 17 18buildPythonPackage rec { 19 pname = "kmapper"; 20 version = "2.1.0"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "scikit-tda"; 25 repo = "kepler-mapper"; 26 tag = "v${version}"; 27 hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4="; 28 }; 29 30 build-system = [ setuptools ]; 31 32 dependencies = [ 33 scikit-learn 34 numpy 35 scipy 36 jinja2 37 ]; 38 39 pythonImportsCheck = [ "kmapper" ]; 40 41 nativeCheckInputs = [ 42 pytestCheckHook 43 networkx 44 matplotlib 45 igraph 46 plotly 47 ipywidgets 48 ]; 49 50 meta = with lib; { 51 description = "Python implementation of Mapper algorithm for Topological Data Analysis"; 52 homepage = "https://kepler-mapper.scikit-tda.org/"; 53 license = licenses.mit; 54 maintainers = [ ]; 55 }; 56}