From ffac939edc1628a17f88557426b1e3c94b1006d8 Mon Sep 17 00:00:00 2001 From: Utku Demir Date: Tue, 12 Apr 2016 16:20:54 +0300 Subject: [PATCH] selenium-server-standalone: 2.45.0 -> 2.53.0 Also remove `patchPhase`, since the relevant executable does not exist anymore on the new archive. --- .../tools/selenium/server/default.nix | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/pkgs/development/tools/selenium/server/default.nix b/pkgs/development/tools/selenium/server/default.nix index 66d9668fe82d..fe8bf2b13b59 100644 --- a/pkgs/development/tools/selenium/server/default.nix +++ b/pkgs/development/tools/selenium/server/default.nix @@ -10,30 +10,17 @@ let in stdenv.mkDerivation rec { name = "selenium-server-standalone-${version}"; - version = "2.45.0"; + version = "2.53.0"; src = fetchurl { - url = "http://selenium-release.storage.googleapis.com/2.45/selenium-server-standalone-2.45.0.jar"; - sha256 = "0yvmmngqff3k5si1js8v87nx3whlsx7q4p78v6ybqhsbv6idywhi"; + url = "http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-${version}.jar"; + sha256 = "0dp0n5chl1frjy9pcyjvpcdgv1f4dkslh2bpydpxwc5isfzqrf37"; }; unpackPhase = "true"; buildInputs = [ jre makeWrapper ]; - # Patch launcher binaries for opera - patchPhase = optionalString (arch!="") '' - cp $src $TMPDIR/${name}.jar - export src=$TMPDIR/${name}.jar - - ${jdk}/bin/jar xf $src launchers/launcher-linux-amd64 - patchelf \ - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${gcc.cc}/lib/:${gcc.cc}/lib64:${xorg.libX11.out}/lib" \ - launchers/launcher-linux-${arch} - ${jdk}/bin/jar uf $src launchers/launcher-linux-${arch} - ''; - installPhase = '' mkdir -p $out/share/lib/${name} cp $src $out/share/lib/${name}/${name}.jar