python3Packages.squarify: migrate to pyproject (#549192)

This commit is contained in:
Nick Cao
2026-08-05 17:57:16 +00:00
committed by GitHub

View File

@@ -2,25 +2,30 @@
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
pytestCheckHook,
matplotlib,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "squarify";
version = "0.4.3";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "laserson";
repo = "squarify";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ matplotlib ];
dependencies = [ matplotlib ];
pythonImportsCheck = [ "squarify" ];
@@ -30,4 +35,4 @@ buildPythonPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ veehaitch ];
};
}
})