mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.squarify: migrate to pyproject
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user