1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Remove Selenium Remote Control

No longer builds and was a dodgy process anyways
This commit is contained in:
Tim Steinbach 2016-11-03 22:07:54 -04:00
parent 66bdac04e8
commit ad43f28e07
No known key found for this signature in database
GPG key ID: 83FF2ACAEB6C2D24
2 changed files with 0 additions and 54 deletions

View file

@ -1,49 +0,0 @@
{ stdenv, fetchurl, jre }:
# let version = "1.0-beta-2";
let version = "1.0-SNAPSHOT-standalone";
in stdenv.mkDerivation {
/*
Use this if there is another release..
name = "selenium-remote-control-${version}-dist";
src = fetchurl {
url = "http://release.seleniumhq.org/selenium-remote-control/${version}/selenium-remote-control-${version}-dist.zip";
sha256 = "0ciyfqvnv0117l2rhw9dclv85mcf3czpimvybj38v3syl7m7yk41";
};
buildInputs = [unzip];
phases = "unpackPhase buildPhase";
buildPhase = ''
mkdir -p $out/{bin,lib}
mv * $out/lib
bin="$out/bin/selenium-remote-control"
cat >> "$bin" << EOF
#!/bin/sh
exec ${jre}/bin/java -jar $out/lib/selenium-server-${version}/selenium-server.jar "\$@"
EOF
chmod +x "$bin"
'';
*/
# this snapshot version starts a firefox from a script file. It only issues a warning about it
# you still have to pass -DfirefoxDefaultPath=/home/marc/.nix-profile/bin/firefox or such..
name = "selenium-remote-control-${version}-dist";
# this dist file has been created using mvn package -Dmaven.test.skip=true based on svn rev 2450
src = fetchurl {
url = "http://mawercer.de/~nix/selenium-server-1.0-SNAPSHOT-standalone.jar";
sha256 = "1lqr72a3lmmww1psl19pzp91c9q1dm0314b7y7mz1gnfpwc49y38";
};
phases = "buildPhase";
buildPhase = ''
mkdir -p $out/{bin,lib}
cp $src $out/lib/
bin="$out/bin/selenium-remote-control"
cat >> "$bin" << EOF
#!/bin/sh
exec ${jre}/bin/java -jar "$out/lib/$(basename $src)" "\$@"
EOF
chmod +x "$bin"
'';
}

View file

@ -6337,11 +6337,6 @@ in
sauce-connect = callPackage ../development/tools/sauce-connect { };
# couldn't find the source yet
seleniumRCBin = callPackage ../development/tools/selenium/remote-control {
jre = jdk;
};
selenium-server-standalone = callPackage ../development/tools/selenium/server { };
selendroid = callPackage ../development/tools/selenium/selendroid { };