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