9 , godot3-export-templates
30 if stdenv.hostPlatform.isLinux then "Linux/X11"
31 else if stdenv.hostPlatform.isDarwin then "Mac OSX"
32 else throw "unsupported platform";
34 stdenv.mkDerivation rec {
38 src = fetchFromGitHub {
42 sha256 = "sha256-mPv/3hyLGF3IUy6cKfGoABidIsyw4UfmhfhS4AD72K8=";
72 desktopName = "Lorien";
73 genericName = "Whiteboard";
74 comment = meta.description;
75 categories = [ "Graphics" "Office" ];
76 keywords = [ "whiteboard" ];
83 # Cannot create file '/homeless-shelter/.config/godot/projects/...'
86 # Link the export-templates to the expected location. The --export commands
87 # expects the template-file at .../templates/{godot-version}.stable/linux_x11_64_release
88 mkdir -p $HOME/.local/share/godot
89 ln -s ${godot3-export-templates}/share/godot/templates $HOME/.local/share/godot
91 mkdir -p $out/share/lorien
93 godot3-headless --path lorien --export "${preset}" $out/share/lorien/lorien
102 ln -s $out/share/lorien/lorien $out/bin
105 interpreter=$(cat $NIX_CC/nix-support/dynamic-linker)
107 --set-interpreter $interpreter \
108 --set-rpath ${lib.makeLibraryPath buildInputs} \
109 $out/share/lorien/lorien
111 install -Dm644 images/lorien.png $out/share/pixmaps/lorien.png
116 runtimeDependencies = map lib.getLib [
123 homepage = "https://github.com/mbrlabs/Lorien";
124 description = "An infinite canvas drawing/note-taking app";
126 An infinite canvas drawing/note-taking app that is focused on performance,
127 small savefiles and simplicity
129 license = licenses.mit;
130 platforms = platforms.unix;
131 maintainers = with maintainers; [ hqurve ];
132 mainProgram = "lorien";