15 ensureNewerSourcesForZipFilesHook,
29 gamemodeSupport ? stdenv.hostPlatform.isLinux,
32 stdenv.mkDerivation (finalAttrs: {
36 src = fetchFromGitHub {
37 owner = "taisei-project";
39 rev = "v${finalAttrs.version}";
40 hash = "sha256-rThLz8o6IYhIBUc0b1sAQi2aF28btajcM1ScTv+qn6c=";
41 fetchSubmodules = true;
49 python3Packages.python
50 python3Packages.zstandard
51 ensureNewerSourcesForZipFilesHook
69 ] ++ lib.optional gamemodeSupport gamemode;
72 (lib.mesonBool "b_lto" false)
73 (lib.mesonEnable "install_macos_bundle" false)
74 (lib.mesonEnable "install_relocatable" false)
75 (lib.mesonEnable "shader_transpiler" false)
76 (lib.mesonEnable "gamemode" gamemodeSupport)
86 description = "Free and open-source Touhou Project clone and fangame";
87 mainProgram = "taisei";
89 Taisei is an open clone of the Tōhō Project series. Tōhō is a one-man
90 project of shoot-em-up games set in an isolated world full of Japanese
93 homepage = "https://taisei-project.org/";
94 license = with lib.licenses; [
98 maintainers = with lib.maintainers; [
102 platforms = lib.platforms.all;