2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, appimageTools, gsettings-desktop-schemas, gtk3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
let
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.3.2";
|
2020-05-03 17:38:23 +00:00
|
|
|
in appimageTools.wrapType2 rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "unityhub";
|
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
extraPkgs = (pkgs: with pkgs; with xorg; [ gtk2 gdk-pixbuf glib libGL libGLU nss nspr
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib cups gnome2.GConf libcap fontconfig freetype pango
|
2020-04-24 23:36:52 +00:00
|
|
|
cairo dbus dbus-glib libdbusmenu libdbusmenu-gtk2 expat zlib libpng12 udev tbb
|
|
|
|
libpqxx gtk3 libsecret lsb-release openssl nodejs ncurses5
|
|
|
|
|
|
|
|
libX11 libXcursor libXdamage libXfixes libXrender libXi
|
2020-07-18 16:06:22 +00:00
|
|
|
libXcomposite libXext libXrandr libXtst libSM libICE libxcb
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
libselinux pciutils libpulseaudio libxml2 icu clang
|
2020-07-18 16:06:22 +00:00
|
|
|
]);
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
profile = ''
|
|
|
|
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-05-03 17:38:23 +00:00
|
|
|
# mirror of https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage
|
|
|
|
url = "https://archive.org/download/unity-hub-${version}/UnityHub.AppImage";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "07nfyfp9apshqarc6pgshsczila6x4943hiyyizc55kp85aw0imn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://unity3d.com/";
|
|
|
|
description = "Game development tool";
|
|
|
|
longDescription = ''
|
|
|
|
Popular development platform for creating 2D and 3D multiplatform games
|
|
|
|
and interactive experiences.
|
|
|
|
'';
|
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ tesq0 ];
|
|
|
|
};
|
|
|
|
}
|