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