python3Packages.squarify: migrate to pyproject

This commit is contained in:
Harinn
2026-07-31 23:44:51 +07:00
parent fb91e96274
commit db7ab7aa6e

View File

@@ -2,6 +2,7 @@
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
pytestCheckHook,
matplotlib,
}:
@@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "squarify";
version = "0.4.3";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "laserson";
@@ -18,9 +19,11 @@ buildPythonPackage rec {
hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ matplotlib ];
dependencies = [ matplotlib ];
pythonImportsCheck = [ "squarify" ];