evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / tilequant / default.nix
blobe6f43890f56478ee07533664b2670f33fb445e44
2   lib,
3   buildPythonPackage,
4   click,
5   fetchPypi,
6   ordered-set,
7   pillow,
8   pythonOlder,
9   setuptools,
10   setuptools-dso,
11   sortedcollections,
14 buildPythonPackage rec {
15   pname = "tilequant";
16   version = "1.1.0";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
24   };
26   pythonRelaxDeps = [ "pillow" ];
28   build-system = [
29     setuptools
30   ];
32   dependencies = [
33     click
34     ordered-set
35     pillow
36     sortedcollections
37     setuptools-dso
38   ];
40   doCheck = false; # there are no tests
42   pythonImportsCheck = [ "tilequant" ];
44   meta = with lib; {
45     description = "Tool for quantizing image colors using tile-based palette restrictions";
46     homepage = "https://github.com/SkyTemple/tilequant";
47     changelog = "https://github.com/SkyTemple/tilequant/releases/tag/${version}";
48     license = licenses.gpl3Plus;
49     maintainers = with maintainers; [ marius851000 ];
50     mainProgram = "tilequant";
51   };