depot/third_party/nixpkgs/pkgs/development/python-modules/kmapper/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

56 lines
955 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
scikit-learn,
numpy,
scipy,
jinja2,
pytestCheckHook,
networkx,
matplotlib,
igraph,
plotly,
ipywidgets,
}:
buildPythonPackage rec {
pname = "kmapper";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scikit-tda";
repo = "kepler-mapper";
rev = "refs/tags/v${version}";
hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4=";
};
build-system = [ setuptools ];
dependencies = [
scikit-learn
numpy
scipy
jinja2
];
pythonImportsCheck = [ "kmapper" ];
nativeCheckInputs = [
pytestCheckHook
networkx
matplotlib
igraph
plotly
ipywidgets
];
meta = with lib; {
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
homepage = "https://kepler-mapper.scikit-tda.org/";
license = licenses.mit;
maintainers = [ ];
};
}