From a0909d29beb089b54ac7e3eec7f8f3ebc2114a4e Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 3 Nov 2024 14:04:47 +0900 Subject: [PATCH] python312Packages.umap-learn: switch to pypa builder --- .../development/python-modules/umap-learn/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/umap-learn/default.nix b/pkgs/development/python-modules/umap-learn/default.nix index d78850f1c675..9d91c6d94ffa 100644 --- a/pkgs/development/python-modules/umap-learn/default.nix +++ b/pkgs/development/python-modules/umap-learn/default.nix @@ -5,6 +5,7 @@ colorcet, datashader, fetchFromGitHub, + setuptools, holoviews, matplotlib, numba, @@ -12,7 +13,6 @@ pandas, pynndescent, pytestCheckHook, - pythonOlder, scikit-image, scikit-learn, scipy, @@ -25,9 +25,7 @@ buildPythonPackage rec { pname = "umap-learn"; version = "0.5.7"; - format = "setuptools"; - - disabled = pythonOlder "3.6"; + pyproject = true; src = fetchFromGitHub { owner = "lmcinnes"; @@ -36,7 +34,9 @@ buildPythonPackage rec { hash = "sha256-hPYmRDSeDa4JWGekUVq3CWf5NthHTpMpyuUQ1yIkVAE="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ numba numpy pynndescent @@ -91,6 +91,7 @@ buildPythonPackage rec { meta = with lib; { description = "Uniform Manifold Approximation and Projection"; homepage = "https://github.com/lmcinnes/umap"; + changelog = "https://github.com/lmcinnes/umap/releases/tag/release-${version}"; license = licenses.bsd3; maintainers = [ ]; };