2021-01-23 04:26:19 -08:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-01-14 02:48:38 -08:00
|
|
|
|
2021-01-23 04:26:19 -08:00
|
|
|
with lib;
|
2017-01-14 02:48:38 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "htmlunit-driver-standalone";
|
2017-10-07 02:54:23 -07:00
|
|
|
version = "2.27";
|
2017-01-14 02:48:38 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-07 02:54:23 -07:00
|
|
|
url = "https://github.com/SeleniumHQ/htmlunit-driver/releases/download/${version}/htmlunit-driver-${version}-with-dependencies.jar";
|
|
|
|
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
2017-01-14 02:48:38 -08:00
|
|
|
};
|
|
|
|
|
2019-06-19 08:45:34 -07:00
|
|
|
dontUnpack = true;
|
2017-01-14 02:48:38 -08:00
|
|
|
|
2019-08-15 05:41:18 -07:00
|
|
|
installPhase = "install -D $src $out/share/lib/${pname}-${version}/${pname}-${version}.jar";
|
2017-01-14 02:48:38 -08:00
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/SeleniumHQ/htmlunit-driver";
|
2017-01-14 02:48:38 -08:00
|
|
|
description = "A WebDriver server for running Selenium tests on the HtmlUnit headless browser";
|
|
|
|
maintainers = with maintainers; [ coconnor offline ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|