mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Add selenium-server-standalone (submitted by coreyoconnor)
This commit is contained in:
parent
05c19ced9b
commit
c23ec33c77
27
pkgs/development/tools/selenium/server/default.nix
Normal file
27
pkgs/development/tools/selenium/server/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -3736,6 +3736,8 @@ let
|
||||
jre = jdk;
|
||||
};
|
||||
|
||||
selenium-server-standalone = callPackage ../development/tools/selenium/server { };
|
||||
|
||||
scons = callPackage ../development/tools/build-managers/scons { };
|
||||
|
||||
simpleBuildTool = callPackage ../development/tools/build-managers/simple-build-tool { };
|
||||
|
Loading…
Reference in New Issue
Block a user