python3Packages.tilequant: 0.4.1.post0 -> 1.1.0

This commit is contained in:
Kamila Borowska 2023-11-24 19:54:03 +01:00
parent b12c0b5206
commit 37df25da40

View File

@ -1,44 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, gitpython
, fetchPypi
, click
, ordered-set
, pythonOlder
, pillow
, sortedcollections
, setuptools_dso
}:
buildPythonPackage rec {
pname = "tilequant";
version = "0.4.1.post0";
format = "setuptools";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
hash = "sha256-7vU/AYnX7deOH3PjrseRIj9BUJMWzDlwR3UcMpBRyfc=";
fetchSubmodules = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-uW1g3nlT6Y+1beifo/MOlGxsGL7on/jcAROxSddySHk=";
};
buildInputs = [
gitpython
];
propagatedBuildInputs = [
click
ordered-set
pillow
sortedcollections
setuptools_dso
];
doCheck = false; # there are no tests
pythonImportsCheck = [
"skytemple_tilequant"
"tilequant"
];
meta = with lib; {