Unverified Commit 9b910336 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #176198 from xfix/skytemple-dtef-1.1.5

python3Packages.skytemple-dtef: 1.1.4 -> 1.1.5
parents 71c0ae16 9b5dc169
Loading
Loading
Loading
Loading
+26 −8
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, skytemple-files }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, pytestCheckHook
, pythonOlder
, skytemple-files
}:

buildPythonPackage rec {
  pname = "skytemple-dtef";
  version = "1.1.4";
  version = "1.1.5";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "SkyTemple";
    repo = pname;
    rev = version;
    sha256 = "0l2b66z5ngyas3ijbzwz2wizw46kz47f8jr729pzbg4wbqbqjihr";
    hash = "sha256-QL+nLmjz0wCED2RjidIDK0tB6mAPnoaSJWpyLFu0pP4=";
  };

  propagatedBuildInputs = [ skytemple-files ];
  propagatedBuildInputs = [
    pillow
    skytemple-files
  ];

  checkInputs = [
    pytestCheckHook
  ];

  doCheck = false; # there are no tests
  pythonImportsCheck = [ "skytemple_dtef" ];
  pythonImportsCheck = [
    "skytemple_dtef"
  ];

  meta = with lib; {
    homepage = "https://github.com/SkyTemple/skytemple-dtef";
    description = "A format for standardized rule-based tilesets with 256 adjacency combinations";
    homepage = "https://github.com/SkyTemple/skytemple-dtef";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ xfix ];
    maintainers = with maintainers; [ marius851000 xfix ];
  };
}