2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, scikitlearn
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, jinja2
|
|
|
|
, pytest
|
|
|
|
, networkx
|
|
|
|
, matplotlib
|
|
|
|
, python-igraph
|
|
|
|
, plotly
|
|
|
|
, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kmapper";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "2.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "3708d889f96f6bbe89c52000dd9378ca4c35638180ff894b64ebbdfcfe62aab2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
scikitlearn
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
networkx
|
|
|
|
matplotlib
|
|
|
|
python-igraph
|
|
|
|
plotly
|
|
|
|
ipywidgets
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest test --ignore test/test_drawing.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
|
|
|
homepage = "https://kepler-mapper.scikit-tda.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|