Merge pull request #219899 from veehaitch/py3-squarify
python3Packages.squarify: init at 0.4.3
This commit is contained in:
commit
42683dbd54
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/squarify/default.nix
Normal file
31
pkgs/development/python-modules/squarify/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, matplotlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "squarify";
|
||||
version = "0.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "laserson";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zSv+6xT9H4WyShRnwjjcNMjY19AFlQ6bw9Mh9p2rL08=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
propagatedBuildInputs = [ matplotlib ];
|
||||
|
||||
pythonImportsCheck = [ "squarify" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/laserson/squarify";
|
||||
description = "Pure Python implementation of the squarify treemap layout algorithm";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ veehaitch ];
|
||||
};
|
||||
}
|
|
@ -11134,6 +11134,8 @@ self: super: with self; {
|
|||
|
||||
sqltrie = callPackage ../development/python-modules/sqltrie { };
|
||||
|
||||
squarify = callPackage ../development/python-modules/squarify { };
|
||||
|
||||
srp = callPackage ../development/python-modules/srp { };
|
||||
|
||||
srpenergy = callPackage ../development/python-modules/srpenergy { };
|
||||
|
|
Loading…
Reference in a new issue