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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
850 B
Nix
Raw Normal View History

2019-07-13 00:34:46 +00:00
{ lib
, buildPythonPackage
2021-05-07 19:03:26 +00:00
, fetchFromGitHub
, 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
, igraph
2019-07-13 00:34:46 +00:00
, plotly
, ipywidgets
}:
buildPythonPackage rec {
pname = "kmapper";
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}";
sha256 = "1jqqrn7ig9kylcc8xbslxmchzghr9jgffaab3g3y3nyghk8azlgj";
2019-07-13 00:34:46 +00:00
};
propagatedBuildInputs = [
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
igraph
2019-07-13 00:34:46 +00: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 00:34:46 +00:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}