nixpkgs/pkgs/development/python-modules/skytemple-dtef/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
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.
2023-01-21 12:00:00 +00:00

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 ];
};
}