nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 34 lines 1.3 kB view raw
1{ stdenv, fetchurl, appimageTools, gsettings-desktop-schemas, gtk3 }: 2 3appimageTools.wrapType2 rec { 4 name = "unityhub"; 5 6 extraPkgs = (pkgs: with pkgs; with xorg; [ gtk2 gdk_pixbuf glib libGL libGLU nss nspr 7 alsaLib cups gnome2.GConf libcap fontconfig freetype pango 8 cairo dbus dbus-glib libdbusmenu libdbusmenu-gtk2 expat zlib libpng12 udev tbb 9 libpqxx gtk3 libsecret lsb-release openssl nodejs ncurses5 10 11 libX11 libXcursor libXdamage libXfixes libXrender libXi 12 libXcomposite libXext libXrandr libXtst libSM libICE libxcb ]); 13 14 profile = '' 15 export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS 16 ''; 17 18 src = fetchurl { 19 url = "https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage"; 20 sha256 = "1rx7ih94ig3pd1yx1d3fpx7zpixq3j5birkpnzkh778qqsdrg0nf"; 21 }; 22 23 meta = with stdenv.lib; { 24 homepage = https://unity3d.com/; 25 description = "Game development tool"; 26 longDescription = '' 27 Popular development platform for creating 2D and 3D multiplatform games 28 and interactive experiences. 29 ''; 30 license = licenses.unfree; 31 platforms = [ "x86_64-linux" ]; 32 maintainers = with maintainers; [ tesq0 ]; 33 }; 34}