1{
2 lib,
3 stdenv,
4 callPackage,
5}:
6let
7 version = "5.5.241";
8 pname = "gdevelop";
9 meta = {
10 description = "Graphical Game Development Studio";
11 homepage = "https://gdevelop.io/";
12 downloadPage = "https://github.com/4ian/GDevelop/releases";
13 license = lib.licenses.mit;
14 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
15 maintainers = with lib.maintainers; [
16 tombert
17 matteopacini
18 ];
19 mainProgram = "gdevelop";
20 platforms = [ "x86_64-linux" ] ++ lib.platforms.darwin;
21 };
22 passthru.updateScript = ./update.sh;
23in
24if stdenv.hostPlatform.isDarwin then
25 callPackage ./darwin.nix {
26 inherit
27 pname
28 version
29 meta
30 passthru
31 ;
32 }
33else
34 callPackage ./linux.nix {
35 inherit
36 pname
37 version
38 meta
39 passthru
40 ;
41 }