From dc5292a6b895949349e0283c94bf1f261f23ab2e Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Mon, 3 Dec 2007 14:33:54 +0000 Subject: [PATCH] xara update (now works on i686 and _64 again) selenium-rc binaries (automatic web application testing remote control server) svn path=/nixpkgs/trunk/; revision=9835 --- .../tools/selenium/remote-control/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 7 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/tools/selenium/remote-control/default.nix diff --git a/pkgs/development/tools/selenium/remote-control/default.nix b/pkgs/development/tools/selenium/remote-control/default.nix new file mode 100644 index 00000000000..e2bf63264a6 --- /dev/null +++ b/pkgs/development/tools/selenium/remote-control/default.nix @@ -0,0 +1,23 @@ +args: +args.stdenv.mkDerivation { + name = "selenium-rc-0.8.3-binary"; + + src = args.fetchurl { + url = http://release.openqa.org/cgi-bin/selenium-remote-control-redirect.zip; + sha256 = "694b46a8440011bcedc4fdc6d01fd91c8b4b4b62b7c6629ace4e745ef47f583e"; + }; + + phases = "installPhase"; + installPhase = " + ensureDir \$out/lib + cp selenium-server-*/*.jar \$out/lib + "; + + buildInputs =(with args; [unzip]); + + meta = { + description = "test tool for web applications"; + homepage = http://www.openqa.org/selenium-c; + license = ""; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0835927bfcd..08b3b4d099c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1497,6 +1497,11 @@ rec { inherit fetchurl stdenv; }); + # couldn't find the source yet + selenium_rc_binary = import ../development/tools/selenium/remote-control { + inherit fetchurl stdenv unzip; + }; + scons = import ../development/tools/build-managers/scons { inherit fetchurl stdenv python; }; @@ -4383,7 +4388,7 @@ rec { xara = import ../applications/graphics/xara { inherit fetchurl stdenv autoconf automake libtool gettext cvs wxGTK - pkgconfig libxml2 zip libpng libjpeg; + pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype; inherit (gtkLibs) gtk; };