2017-01-14 10:48:38 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "htmlunit-driver-standalone-${version}";
|
2017-10-07 10:54:23 +01:00
|
|
|
version = "2.27";
|
2017-01-14 10:48:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-07 10:54:23 +01:00
|
|
|
url = "https://github.com/SeleniumHQ/htmlunit-driver/releases/download/${version}/htmlunit-driver-${version}-with-dependencies.jar";
|
|
|
|
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
2017-01-14 10:48:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = "true";
|
|
|
|
|
|
|
|
installPhase = "install -D $src $out/share/lib/${name}/${name}.jar";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/SeleniumHQ/htmlunit-driver;
|
|
|
|
description = "A WebDriver server for running Selenium tests on the HtmlUnit headless browser";
|
|
|
|
maintainers = with maintainers; [ coconnor offline ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|