2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pillow
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, skytemple-files
|
|
|
|
}:
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skytemple-dtef";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "1.1.5";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SkyTemple";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-06-16 17:23:12 +00:00
|
|
|
hash = "sha256-QL+nLmjz0wCED2RjidIDK0tB6mAPnoaSJWpyLFu0pP4=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pillow
|
|
|
|
skytemple-files
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"skytemple_dtef"
|
|
|
|
];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A format for standardized rule-based tilesets with 256 adjacency combinations";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/SkyTemple/skytemple-dtef";
|
2021-06-04 09:07:49 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ marius851000 xfix ];
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
}
|