Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / squarify / default.nix
blobe0fe054156c672aaf85b36c1acf3cec49f2b803b
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , pytestCheckHook
5 , matplotlib
6 }:
8 buildPythonPackage rec {
9   pname = "squarify";
10   version = "0.4.3";
12   src = fetchFromGitHub {
13     owner = "laserson";
14     repo = pname;
15     rev = "refs/tags/v${version}";
16     hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08=";
17   };
19   nativeCheckInputs = [ pytestCheckHook ];
21   propagatedBuildInputs = [ matplotlib ];
23   pythonImportsCheck = [ "squarify" ];
25   meta = with lib; {
26     homepage = "https://github.com/laserson/squarify";
27     description = "Pure Python implementation of the squarify treemap layout algorithm";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ veehaitch ];
30   };