2019-07-13 01:34:46 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, scikitlearn
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, jinja2
|
|
|
|
, pytest
|
|
|
|
, networkx
|
|
|
|
, matplotlib
|
|
|
|
, python-igraph
|
|
|
|
, plotly
|
|
|
|
, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kmapper";
|
2020-11-29 14:04:32 +00:00
|
|
|
version = "1.4.1";
|
2019-07-13 01:34:46 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:32 +00:00
|
|
|
sha256 = "3bb09d016ae0dc3308c2901f0775139a26e7f689afacea564a74e5627de35cd7";
|
2019-07-13 01:34:46 +01: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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://kepler-mapper.scikit-tda.org/";
|
2019-07-13 01:34:46 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|