From ff51c326b64dfcfa3eaf97bdb400822ad010f072 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 May 2025 12:48:56 +0200 Subject: [PATCH] python312Packages.mpl-scatter-density: refactor --- .../python-modules/mpl-scatter-density/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/mpl-scatter-density/default.nix b/pkgs/development/python-modules/mpl-scatter-density/default.nix index 2c8c5c0f64aa..f8b4444ec0d8 100644 --- a/pkgs/development/python-modules/mpl-scatter-density/default.nix +++ b/pkgs/development/python-modules/mpl-scatter-density/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, pytestCheckHook, fetchFromGitHub, - pythonOlder, setuptools-scm, setuptools, fast-histogram, @@ -20,22 +19,20 @@ buildPythonPackage rec { version = "0.8"; pyproject = true; - disabled = pythonOlder "3.6"; - src = fetchFromGitHub { owner = "astrofrog"; repo = pname; tag = "v${version}"; - sha256 = "sha256-pDiKJAN/4WFf5icNU/ZGOvw0jqN3eGZHgilm2oolpbE="; + hash = "sha256-pDiKJAN/4WFf5icNU/ZGOvw0jqN3eGZHgilm2oolpbE="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm wheel ]; - propagatedBuildInputs = [ + dependencies = [ matplotlib numpy fast-histogram