biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / squarify / default.nix
blobb37df470acaad29142c724eb05070cde26fd1d86
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   pytestCheckHook,
6   matplotlib,
7 }:
9 buildPythonPackage rec {
10   pname = "squarify";
11   version = "0.4.3";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "laserson";
16     repo = pname;
17     rev = "refs/tags/v${version}";
18     hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   propagatedBuildInputs = [ matplotlib ];
25   pythonImportsCheck = [ "squarify" ];
27   meta = with lib; {
28     homepage = "https://github.com/laserson/squarify";
29     description = "Pure Python implementation of the squarify treemap layout algorithm";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ veehaitch ];
32   };