Nixfiles/pkgs/oead.nix
2025-07-08 23:59:39 +02:00

40 lines
780 B
Nix

{
lib,
python311,
fetchFromGitHub,
cmake,
}:
python311.pkgs.buildPythonApplication rec {
pname = "oead";
version = "1.2.9-4";
pyproject = true;
src = fetchFromGitHub {
owner = "zeldamods";
repo = "oead";
rev = "v${version}";
hash = "sha256-rBzXs5OaSssCjakOmGRsvL0OSq1EApllRN59lFaRNrU=";
fetchSubmodules = true;
};
dontUseCmakeConfigure = true;
build-system = [
python311.pkgs.setuptools
python311.pkgs.wheel
cmake
];
pythonImportsCheck = [
"oead"
];
meta = {
description = "Library for recent Nintendo EAD formats in first-party games";
homepage = "https://github.com/zeldamods/oead";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ ];
mainProgram = "oead";
};
}