mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
834 B
Nix
25 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;
|
|
};
|
|
}
|