diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-04-12 16:51:42 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-04-12 16:52:18 +0300 |
commit | 8c5660807899a6c5c7e0f5e815770960181f8804 (patch) | |
tree | f11028ba92b6bf5edc64ad98d09e8e16a247ddbf /pkgs/development/tools/unity3d | |
parent | 5f05792417a41724cf31085a5390861e2131b65c (diff) |
unity3d: 5.3.5 -> 5.5.3
Also add udev to dependencies and don't strip unneeded ones. Fixes #22513.
Diffstat (limited to 'pkgs/development/tools/unity3d')
-rw-r--r-- | pkgs/development/tools/unity3d/default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/development/tools/unity3d/default.nix b/pkgs/development/tools/unity3d/default.nix index 73cb902ae6955..d9459134feabf 100644 --- a/pkgs/development/tools/unity3d/default.nix +++ b/pkgs/development/tools/unity3d/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, makeWrapper, fakeroot, file, getopt -, gtk2, gdk_pixbuf, glib, mesa_glu, postgresql, nss, nspr +, gtk2, gdk_pixbuf, glib, mesa_glu, postgresql, nss, nspr, udev , alsaLib, GConf, cups, libcap, fontconfig, freetype, pango , cairo, dbus, expat, zlib, libpng12, nodejs, gnutar, gcc, gcc_32bit , libX11, libXcursor, libXdamage, libXfixes, libXrender, libXi @@ -11,7 +11,7 @@ let libPath64 = lib.makeLibraryPath [ gcc.cc gtk2 gdk_pixbuf glib mesa_glu postgresql nss nspr alsaLib GConf cups libcap fontconfig freetype pango - cairo dbus expat zlib libpng12 + cairo dbus expat zlib libpng12 udev libX11 libXcursor libXdamage libXfixes libXrender libXi libXcomposite libXext libXrandr libXtst libSM libICE libxcb ]; @@ -25,19 +25,16 @@ let gnome-sharp gtk-sharp-2_0 ]; - ver = "5.3.5"; + ver = "5.5.3"; build = "f1"; - date = "20160525"; - pkgVer = "${ver}${build}"; - fullVer = "${pkgVer}+${date}"; in stdenv.mkDerivation rec { name = "unity-editor-${version}"; - version = pkgVer; + version = "${ver}x${build}"; src = fetchurl { - url = "http://download.unity3d.com/download_unity/linux/unity-editor-installer-${fullVer}.sh"; - sha256 = "0lmc65175fdvbyn3565pjlg6cc4l5i58fj7bxzi5cqykkbzv5wdm"; + url = "http://beta.unity3d.com/download/a2454d41e248/unity-editor-installer-${version}Linux.sh"; + sha256 = "1hvas4n1hm0qp0265gk1nh03kypd9690fnxvzg70f5ni9q97pvm0"; }; nosuidLib = ./unity-nosuid.c; @@ -46,9 +43,10 @@ in stdenv.mkDerivation rec { outputs = [ "out" "monodevelop" ]; + sourceRoot = "unity-editor-${version}Linux"; + unpackPhase = '' echo -e 'q\ny' | fakeroot sh $src - sourceRoot="unity-editor-${pkgVer}" ''; buildPhase = '' @@ -125,6 +123,7 @@ in stdenv.mkDerivation rec { ''; dontStrip = true; + dontPatchELF = true; meta = with stdenv.lib; { homepage = https://unity3d.com/; |