selenium remote control version bump to 1.0-beta-2
renamed attr to seleniumRCBin and adding selenium-remote-control-1.0-beta-2 run script svn path=/nixpkgs/trunk/; revision=14734
This commit is contained in:
parent
e3eb124873
commit
63dbfc3aa1
@ -1,23 +1,22 @@
|
|||||||
args: with args;
|
args: with args;
|
||||||
stdenv.mkDerivation {
|
let version = "1.0-beta-2";
|
||||||
name = "selenium-rc-0.8.3-binary";
|
in stdenv.mkDerivation {
|
||||||
|
name = "selenium-remote-control-${version}-dist";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://release.openqa.org/cgi-bin/selenium-remote-control-redirect.zip;
|
url = "http://release.seleniumhq.org/selenium-remote-control/${version}/selenium-remote-control-${version}-dist.zip";
|
||||||
sha256 = "694b46a8440011bcedc4fdc6d01fd91c8b4b4b62b7c6629ace4e745ef47f583e";
|
sha256 = "0ciyfqvnv0117l2rhw9dclv85mcf3czpimvybj38v3syl7m7yk41";
|
||||||
};
|
};
|
||||||
|
phases = "unpackPhase buildPhase";
|
||||||
phases = "installPhase";
|
buildInputs = [unzip];
|
||||||
installPhase = "
|
buildPhase = ''
|
||||||
ensureDir \$out/lib
|
ensureDir $out/{bin,lib}
|
||||||
cp selenium-server-*/*.jar \$out/lib
|
mv * $out/lib
|
||||||
";
|
bin="$out/bin/selenium-remote-control"
|
||||||
|
cat >> "$bin" << EOF
|
||||||
buildInputs = [unzip];
|
#!/bin/sh
|
||||||
|
exec ${jre}/bin/java -jar $out/lib/selenium-server-${version}/selenium-server.jar "\$@"
|
||||||
meta = {
|
EOF
|
||||||
description = "test tool for web applications";
|
echo chmod +x "$bin"
|
||||||
homepage = http://www.openqa.org/selenium-c;
|
chmod +x "$bin"
|
||||||
license = "";
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -2582,8 +2582,9 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
# couldn't find the source yet
|
# couldn't find the source yet
|
||||||
selenium_rc_binary = import ../development/tools/selenium/remote-control {
|
seleniumRCBin = import ../development/tools/selenium/remote-control {
|
||||||
inherit fetchurl stdenv unzip;
|
inherit fetchurl stdenv unzip;
|
||||||
|
jre = jdk;
|
||||||
};
|
};
|
||||||
|
|
||||||
scons = import ../development/tools/build-managers/scons {
|
scons = import ../development/tools/build-managers/scons {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user