python311Packages.tilequant: refactor
This commit is contained in:
parent
4f28c0b741
commit
7cf7c9c63b
@ -1,13 +1,14 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, click
|
, click
|
||||||
|
, fetchPypi
|
||||||
, ordered-set
|
, ordered-set
|
||||||
|
, pillow
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pythonRelaxDepsHook
|
, pythonRelaxDepsHook
|
||||||
, pillow
|
, setuptools
|
||||||
, sortedcollections
|
|
||||||
, setuptools-dso
|
, setuptools-dso
|
||||||
|
, sortedcollections
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -22,15 +23,16 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
|
hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"pillow"
|
"pillow"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
click
|
click
|
||||||
ordered-set
|
ordered-set
|
||||||
pillow
|
pillow
|
||||||
@ -46,9 +48,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for quantizing image colors using tile-based palette restrictions";
|
description = "Tool for quantizing image colors using tile-based palette restrictions";
|
||||||
mainProgram = "tilequant";
|
|
||||||
homepage = "https://github.com/SkyTemple/tilequant";
|
homepage = "https://github.com/SkyTemple/tilequant";
|
||||||
|
changelog = "https://github.com/SkyTemple/tilequant/releases/tag/${version}";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ marius851000 xfix ];
|
maintainers = with maintainers; [ marius851000 xfix ];
|
||||||
|
mainProgram = "tilequant";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user