11 stdenvNoCC.mkDerivation (finalAttrs: {
12 pname = "katawa-shoujo-re-engineered";
15 src = fetchFromGitea {
16 # GitHub mirror at fleetingheart/ksre
17 domain = "codeberg.org";
19 repo = "katawa-shoujo-re-engineered";
20 rev = "v${finalAttrs.version}";
21 hash = "sha256-y128bnRZtW5DgiP43OAnkhhq3f5F88jUl1Bku6wef+w=";
26 name = "katawa-shoujo-re-engineered";
27 desktopName = "Katawa Shoujo: Re-Engineered";
29 icon = finalAttrs.meta.mainProgram;
30 categories = [ "Game" ];
31 exec = finalAttrs.meta.mainProgram;
46 makeWrapper ${lib.getExe' renpy "renpy"} $out/bin/${finalAttrs.meta.mainProgram} \
47 --add-flags ${finalAttrs.src} --add-flags run
48 install -D $src/web-icon.png $out/share/icons/hicolor/512x512/apps/${finalAttrs.meta.mainProgram}.png
53 passthru.updateScript = nix-update-script { };
56 description = "Fan-made modernization of the classic visual novel Katawa Shoujo";
57 homepage = "https://www.fhs.sh/projects";
58 license = with lib.licenses; [
61 # assets from the original game
64 mainProgram = "katawa-shoujo-re-engineered";
65 maintainers = with lib.maintainers; [ quantenzitrone rapiteanu ];
66 platforms = renpy.meta.platforms;