14 stdenv.mkDerivation (finalAttrs: {
15 pname = "hawkthorne-journey";
18 src = fetchFromGitHub {
20 repo = "hawkthorne-journey";
21 tag = "v${finalAttrs.version}";
22 hash = "sha256-RhxI2ChkFCBu2FaW2/eHT1KTTjKP++aHDktT+qQ5ooQ=";
40 # Convert TMX maps to Lua
41 for tmxfile in src/maps/*.tmx; do
45 # Create the .love file
47 zip -X -r ../hawkthorne.love . \
53 -x "maps/test-level.lua" \
54 -x "*/full_soundtrack.ogg" \
64 mkdir -p $out/share/games/hawkthorne
65 cp hawkthorne.love $out/share/games/hawkthorne/
68 makeWrapper ${love}/bin/love $out/bin/hawkthorne \
69 --add-flags "$out/share/games/hawkthorne/hawkthorne.love"
79 desktopName = "Journey to the Center of Hawkthorne";
80 genericName = "Platform Game";
89 description = "Journey to the Center of Hawkthorne - Community Fan Game";
90 homepage = "https://projecthawkthorne.com";
91 changelog = "https://github.com/hawkthorne/hawkthorne-journey/releases/tag/v${finalAttrs.version}";
92 license = lib.licenses.mit;
93 maintainers = with lib.maintainers; [ liberodark ];
94 mainProgram = "hawkthorne";