about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-28 13:00:00 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-28 13:00:00 +0100
commit7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f (patch)
treee47fc88ff9233a38f28c561fbd924c616f523b14
parent4f28c0b741d07965701272897d117c196c08b952 (diff)
downloadnixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar.gz
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar.bz2
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar.lz
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar.xz
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.tar.zst
nixlib-7cf7c9c63b869bd25766dd305b5b90f41dfe5b9f.zip
python311Packages.tilequant: refactor
-rw-r--r--pkgs/development/python-modules/tilequant/default.nix21
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";
   };
 }