2019-07-13 01:34:46 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-05-07 20:03:26 +01:00
|
|
|
, fetchFromGitHub
|
2021-05-14 19:46:36 +01:00
|
|
|
, scikit-learn
|
2019-07-13 01:34:46 +01:00
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, jinja2
|
2021-05-07 20:03:26 +01:00
|
|
|
, pytestCheckHook
|
2019-07-13 01:34:46 +01:00
|
|
|
, networkx
|
|
|
|
, matplotlib
|
2021-11-12 06:03:39 +00:00
|
|
|
, igraph
|
2019-07-13 01:34:46 +01:00
|
|
|
, plotly
|
|
|
|
, ipywidgets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kmapper";
|
2021-06-19 02:39:08 +01:00
|
|
|
version = "2.0.1";
|
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}";
|
2021-06-19 02:39:08 +01:00
|
|
|
sha256 = "1jqqrn7ig9kylcc8xbslxmchzghr9jgffaab3g3y3nyghk8azlgj";
|
2019-07-13 01:34:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-05-14 19:46:36 +01:00
|
|
|
scikit-learn
|
2019-07-13 01:34:46 +01:00
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
jinja2
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-05-07 20:03:26 +01:00
|
|
|
pytestCheckHook
|
2019-07-13 01:34:46 +01:00
|
|
|
networkx
|
|
|
|
matplotlib
|
2021-11-12 06:03:39 +00:00
|
|
|
igraph
|
2019-07-13 01:34:46 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|