depot/third_party/nixpkgs/pkgs/development/tools/selenium/htmlunit-driver/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
834 B
Nix

{ lib, stdenv, fetchurl }:
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 = with lib; {
homepage = "https://github.com/SeleniumHQ/htmlunit-driver";
description = "WebDriver server for running Selenium tests on the HtmlUnit headless browser";
maintainers = with maintainers; [ coconnor offline ];
platforms = platforms.all;
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.asl20;
};
}