summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/skytemple-dtef/default.nix
blob: a61c7cae9d0934cd726ab011372c6f9d90cc5e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pillow,
  pytestCheckHook,
  skytemple-files,
}:

buildPythonPackage rec {
  pname = "skytemple-dtef";
  version = "1.8.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "SkyTemple";
    repo = "skytemple-dtef";
    rev = version;
    hash = "sha256-IsAHXl9HfjWDXi/n6Alndi+GnAr7pmbjz6wrBECra0Q=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pillow
    skytemple-files
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "skytemple_dtef" ];

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