2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "htmlunit-driver-standalone";
|
|
|
|
version = "2.27";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/SeleniumHQ/htmlunit-driver/releases/download/${version}/htmlunit-driver-${version}-with-dependencies.jar";
|
|
|
|
sha256 = "1sd3cwpamcbq9pv0mvcm8x6minqrlb4i0r12q3jg91girqswm2dp";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
|
|
|
|
installPhase = "install -D $src $out/share/lib/${pname}-${version}/${pname}-${version}.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;
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|