2019-07-13 00:34:46 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-05-07 19:03:26 +00:00
|
|
|
, fetchFromGitHub
|
2021-05-14 18:46:36 +00:00
|
|
|
, scikit-learn
|
2019-07-13 00:34:46 +00:00
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, jinja2
|
2021-05-07 19:03:26 +00:00
|
|
|
, pytestCheckHook
|
2019-07-13 00:34:46 +00:00
|
|
|
, networkx
|
|
|
|
, matplotlib
|
2021-11-12 06:03:39 +00:00
|
|
|
, igraph
|
2019-07-13 00:34:46 +00:00
|
|
|
, plotly
|
|
|
|
, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kmapper";
|
2021-06-19 01:39:08 +00:00
|
|
|
version = "2.0.1";
|
2019-07-13 00:34:46 +00:00
|
|
|
|
2021-05-07 19:03:26 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "scikit-tda";
|
|
|
|
repo = "kepler-mapper";
|
|
|
|
rev = "v${version}";
|
2021-06-19 01:39:08 +00:00
|
|
|
sha256 = "1jqqrn7ig9kylcc8xbslxmchzghr9jgffaab3g3y3nyghk8azlgj";
|
2019-07-13 00:34:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-05-14 18:46:36 +00:00
|
|
|
scikit-learn
|
2019-07-13 00:34:46 +00:00
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-05-07 19:03:26 +00:00
|
|
|
pytestCheckHook
|
2019-07-13 00:34:46 +00:00
|
|
|
networkx
|
|
|
|
matplotlib
|
2021-11-12 06:03:39 +00:00
|
|
|
igraph
|
2019-07-13 00:34:46 +00:00
|
|
|
plotly
|
|
|
|
ipywidgets
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://kepler-mapper.scikit-tda.org/";
|
2019-07-13 00:34:46 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|