Files
nixpkgs/pkgs/development/python-modules/kmapper/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

66 lines
1.1 KiB
Nix

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