diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-03-28 20:46:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 20:46:15 +0100 |
commit | 64c81edb4b97a51c5bbc54c191763ac71a6517ee (patch) | |
tree | 7e8ce03016ada51fad1fd918d0c343001bb9f86a | |
parent | c597075e21dfe6118cb2cd1dc81fdd28233d5899 (diff) | |
parent | 7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f (diff) | |
download | nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar.gz nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar.bz2 nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar.lz nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar.xz nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.tar.zst nixlib-64c81edb4b97a51c5bbc54c191763ac71a6517ee.zip |
Merge pull request #299742 from fabaff/tilequant-fix
python311Packages.tilequant: refactor
-rw-r--r-- | pkgs/development/python-modules/tilequant/default.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/tilequant/default.nix b/pkgs/development/python-modules/tilequant/default.nix index 064b73707ad0..c25c9ff2659c 100644 --- a/pkgs/development/python-modules/tilequant/default.nix +++ b/pkgs/development/python-modules/tilequant/default.nix @@ -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"; }; } |