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