diff options
author | Domen Kožar <domen@dev.si> | 2014-02-27 13:06:23 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-02-27 13:06:33 +0100 |
commit | c23ec33c7743a9c7f9eb5055e8425475321dc2e7 (patch) | |
tree | 3be660f917792ab3007b7338ede684ddc31d289b /pkgs/development/tools/selenium | |
parent | 05c19ced9b6997edb00fca5a96282921303564c9 (diff) |
Add selenium-server-standalone (submitted by coreyoconnor)
Diffstat (limited to 'pkgs/development/tools/selenium')
-rw-r--r-- | pkgs/development/tools/selenium/server/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/selenium/server/default.nix b/pkgs/development/tools/selenium/server/default.nix new file mode 100644 index 0000000000000..efb1e85c2d730 --- /dev/null +++ b/pkgs/development/tools/selenium/server/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "selenium-server-standalone-${version}"; + version = "2.39.0"; + + src = fetchurl { + url = "https://selenium.googlecode.com/files/${name}.jar"; + sha256 = "11ixh5x5f9kia2va8wssd3n7y57dkv3snw6xvk85y4qhzg64b65f"; + }; + + unpack = ""; + + buildCommand = '' + mkdir -p $out/share/lib/${name} + cp $src $out/share/lib/${name}/${name}.jar + ''; + + meta = with stdenv.lib; { + homepage = https://code.google.com/p/selenium; + description = "Selenium Server for remote WebDriver."; + maintainers = [ maintainers.coconnor ]; + platforms = platforms.all; + hydraPlatforms = []; + license = licenses.asl20; + }; +} |