Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
805 B
Nix
31 lines
805 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, stdenv
|
|
, Security
|
|
, libiconv
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
version = "0.35.0";
|
|
pname = "geckodriver";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mozilla";
|
|
repo = "geckodriver";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-3EJP+y+Egz0kj5e+1FRHPGWfneB/tCCVggmgmylMyDE=";
|
|
};
|
|
|
|
cargoHash = "sha256-gopI5iOCSzD23mvOues76WIiBtpNf9A6X9NoOULm6Qo=";
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];
|
|
|
|
meta = with lib; {
|
|
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
|
homepage = "https://github.com/mozilla/geckodriver";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ jraygauthier ];
|
|
mainProgram = "geckodriver";
|
|
};
|
|
}
|