at master 731 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6 matplotlib, 7}: 8 9buildPythonPackage rec { 10 pname = "squarify"; 11 version = "0.4.3"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "laserson"; 16 repo = "squarify"; 17 tag = "v${version}"; 18 hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08="; 19 }; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 propagatedBuildInputs = [ matplotlib ]; 24 25 pythonImportsCheck = [ "squarify" ]; 26 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 }; 33}