Merge pull request #299742 from fabaff/tilequant-fix

python311Packages.tilequant: refactor
This commit is contained in:
Fabian Affolter 2024-03-28 20:46:15 +01:00 committed by GitHub
commit 64c81edb4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 9 deletions

View File

@ -1,13 +1,14 @@
{ lib
, buildPythonPackage
, fetchPypi
, click
, fetchPypi
, ordered-set
, pillow
, pythonOlder
, pythonRelaxDepsHook
, pillow
, sortedcollections
, setuptools
, setuptools-dso
, sortedcollections
}:
buildPythonPackage rec {
@ -22,15 +23,16 @@ buildPythonPackage rec {
hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pillow"
];
propagatedBuildInputs = [
build-system = [
pythonRelaxDepsHook
setuptools
];
dependencies = [
click
ordered-set
pillow
@ -46,9 +48,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Tool for quantizing image colors using tile-based palette restrictions";
mainProgram = "tilequant";
homepage = "https://github.com/SkyTemple/tilequant";
changelog = "https://github.com/SkyTemple/tilequant/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ marius851000 xfix ];
mainProgram = "tilequant";
};
}