mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
57 lines
955 B
Nix
57 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 = [ ];
|
|
};
|
|
}
|