6 godot3-export-templates,
14 stdenv.mkDerivation rec {
18 src = fetchFromGitea {
19 domain = "codeberg.org";
23 hash = "sha256-z1GR5W67LJb5z+u/qeFZreMK4B6PjB18coecLCYFHy8=";
37 substituteInPlace export_presets.cfg --replace 'res://build/icons/usr/share/icons/hicolor' $out/share/icons/hicolor
38 substituteInPlace project.godot --replace 'res://build/icons/usr/share/icons/hicolor' $out/share/icons/hicolor
40 substituteInPlace justfile --replace '{{build_icons_dir}}/usr' $out
46 # Cannot create file `/homeless-shelter/.config/godot/projects/...`
48 # Link the export-templates to the expected location. The `--export` option expects the templates in the home directory.
49 mkdir -p $HOME/.local/share/godot
50 ln -s ${godot3-export-templates}/share/godot/templates $HOME/.local/share/godot
52 mkdir -p $out/share/find-billy
53 godot3-headless --export-pack 'Linux/X11' $out/share/find-billy/find-billy.pck
54 makeWrapper ${godot3}/bin/godot3 $out/bin/find-billy \
55 --add-flags "--main-pack" \
56 --add-flags "$out/share/find-billy/find-billy.pck"
65 install -D find-billy.desktop -t $out/share/applications
71 description = "2 dimensional Pixel Art Jump & Run";
72 homepage = "https://codeberg.org/annaaurora/Find-Billy";
73 license = licenses.gpl3Plus;
74 platforms = [ "x86_64-linux" ];
75 maintainers = [ maintainers.annaaurora ];