From c7758245ad23ee95b70e16331f7b37248cffaf7d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 23 Jun 2025 00:41:49 +0200 Subject: [PATCH] python3Packages.kmapper: cleanup --- .../python-modules/kmapper/default.nix | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/kmapper/default.nix b/pkgs/development/python-modules/kmapper/default.nix index d0a1d730bbce..f71c6c60a69f 100644 --- a/pkgs/development/python-modules/kmapper/default.nix +++ b/pkgs/development/python-modules/kmapper/default.nix @@ -2,17 +2,23 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system setuptools, - scikit-learn, - numpy, - scipy, + + # dependencies jinja2, - pytestCheckHook, - networkx, - matplotlib, + numpy, + scikit-learn, + scipy, + + # tests igraph, - plotly, ipywidgets, + matplotlib, + networkx, + plotly, + pytestCheckHook, }: buildPythonPackage rec { @@ -30,27 +36,28 @@ buildPythonPackage rec { build-system = [ setuptools ]; dependencies = [ - scikit-learn - numpy - scipy jinja2 + numpy + scikit-learn + scipy ]; pythonImportsCheck = [ "kmapper" ]; nativeCheckInputs = [ - pytestCheckHook - networkx - matplotlib igraph - plotly ipywidgets + matplotlib + networkx + plotly + pytestCheckHook ]; - meta = with lib; { + meta = { description = "Python implementation of Mapper algorithm for Topological Data Analysis"; homepage = "https://kepler-mapper.scikit-tda.org/"; - license = licenses.mit; + changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/v${version}"; + license = lib.licenses.mit; maintainers = [ ]; }; }