2019-07-13 01:34:46 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-05-07 20:03:26 +01:00
|
|
|
, fetchFromGitHub
|
2019-07-13 01:34:46 +01:00
|
|
|
, scikitlearn
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, jinja2
|
2021-05-07 20:03:26 +01:00
|
|
|
, pytestCheckHook
|
2019-07-13 01:34:46 +01:00
|
|
|
, networkx
|
|
|
|
, matplotlib
|
|
|
|
, python-igraph
|
|
|
|
, plotly
|
|
|
|
, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kmapper";
|
2021-03-24 09:28:16 +00:00
|
|
|
version = "2.0.0";
|
2019-07-13 01:34:46 +01:00
|
|
|
|
2021-05-07 20:03:26 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scikit-tda";
|
|
|
|
repo = "kepler-mapper";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0djm27si2bn18khrbb7rwhflc5ma6g9smhikhk5i1apwn5avm6l4";
|
2019-07-13 01:34:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
scikitlearn
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-05-07 20:03:26 +01:00
|
|
|
pytestCheckHook
|
2019-07-13 01:34:46 +01:00
|
|
|
networkx
|
|
|
|
matplotlib
|
|
|
|
python-igraph
|
|
|
|
plotly
|
|
|
|
ipywidgets
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|