nixpkgs/pkgs/development/python-modules/kmapper/default.nix

50 lines
850 B
Nix
Raw Normal View History

2019-07-13 01:34:46 +01:00
{ lib
, buildPythonPackage
2021-05-07 20:03:26 +01:00
, fetchFromGitHub
, 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
, igraph
2019-07-13 01:34:46 +01:00
, plotly
, ipywidgets
}:
buildPythonPackage rec {
pname = "kmapper";
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}";
sha256 = "1jqqrn7ig9kylcc8xbslxmchzghr9jgffaab3g3y3nyghk8azlgj";
2019-07-13 01:34:46 +01:00
};
propagatedBuildInputs = [
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
igraph
2019-07-13 01:34:46 +01:00
plotly
ipywidgets
];
meta = with lib; {
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
homepage = "https://kepler-mapper.scikit-tda.org/";
2019-07-13 01:34:46 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}