1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pillow, 6 pytestCheckHook, 7 pythonOlder, 8 skytemple-files, 9}: 10 11buildPythonPackage rec { 12 pname = "skytemple-dtef"; 13 version = "1.6.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "SkyTemple"; 20 repo = pname; 21 rev = version; 22 hash = "sha256-vVh4WRjx/iFJnTZC7D/OCi0gOwKaXs/waVXUEu5Cda8="; 23 }; 24 25 propagatedBuildInputs = [ 26 pillow 27 skytemple-files 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "skytemple_dtef" ]; 33 34 meta = with lib; { 35 description = "A format for standardized rule-based tilesets with 256 adjacency combinations"; 36 homepage = "https://github.com/SkyTemple/skytemple-dtef"; 37 license = licenses.gpl3Plus; 38 maintainers = with maintainers; [ marius851000 ]; 39 }; 40}