mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
44 lines
849 B
Nix
44 lines
849 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pillow
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, skytemple-files
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "skytemple-dtef";
|
|
version = "1.1.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SkyTemple";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-QL+nLmjz0wCED2RjidIDK0tB6mAPnoaSJWpyLFu0pP4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|