depot/third_party/nixpkgs/pkgs/development/python-modules/skytemple-dtef/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

43 lines
844 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, pytestCheckHook
, pythonOlder
, skytemple-files
}:
buildPythonPackage rec {
pname = "skytemple-dtef";
version = "1.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
hash = "sha256-vVh4WRjx/iFJnTZC7D/OCi0gOwKaXs/waVXUEu5Cda8=";
};
propagatedBuildInputs = [
pillow
skytemple-files
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"skytemple_dtef"
];
meta = with lib; {
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; [ marius851000 xfix ];
};
}