python310Packages.tilequant: rename GitPython
This commit is contained in:
parent
b794719324
commit
1275fda4a0
1 changed files with 28 additions and 5 deletions
|
@ -1,4 +1,13 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, GitPython, click, ordered-set, pillow, sortedcollections }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, gitpython
|
||||
, click
|
||||
, ordered-set
|
||||
, pythonOlder
|
||||
, pillow
|
||||
, sortedcollections
|
||||
}:
|
||||
|
||||
let
|
||||
aikku93-tilequant = fetchFromGitHub {
|
||||
|
@ -11,6 +20,9 @@ in
|
|||
buildPythonPackage rec {
|
||||
pname = "tilequant";
|
||||
version = "0.4.0.post0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SkyTemple";
|
||||
|
@ -23,15 +35,26 @@ buildPythonPackage rec {
|
|||
cp -R --no-preserve=mode ${aikku93-tilequant} __aikku93_tilequant
|
||||
'';
|
||||
|
||||
buildInputs = [ GitPython ];
|
||||
propagatedBuildInputs = [ click ordered-set pillow sortedcollections ];
|
||||
buildInputs = [
|
||||
gitpython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
ordered-set
|
||||
pillow
|
||||
sortedcollections
|
||||
];
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
pythonImportsCheck = [ "skytemple_tilequant" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"skytemple_tilequant"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/SkyTemple/tilequant";
|
||||
description = "Tool for quantizing image colors using tile-based palette restrictions";
|
||||
homepage = "https://github.com/SkyTemple/tilequant";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ xfix ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue