geckodriver: unstable-2018-02-24 -> 0.22.0
Motivation: unstable-2018-02-24 (which reports to be 0.19.1, but probably doesn't correspond to any actual geckodriver release) isn't compatible with the currently shipped Firefox version 63.0 closes NixOS/nixpkgs#50380
This commit is contained in:
parent
c37ae1dcf6
commit
1edf950fa2
|
@ -1,24 +1,26 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
version = "unstable-2018-02-24";
|
||||
version = "0.22.0";
|
||||
name = "geckodriver-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "gecko-dev";
|
||||
rev = "ecb86060b4c5a9808798b81a57e79e821bb47082";
|
||||
sha256 = "1am84a60adw0bb12rlhdqbiwyywhza4qp5sf4f4fmssjl2qcr6nl";
|
||||
repo = "geckodriver";
|
||||
rev = "v${version}";
|
||||
sha256 = "12m95lfqwdxs2m5kjh3yrpm9w2li5m8n3fw46a2nkxyfw6c94l4b";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/testing/geckodriver";
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
cargoSha256 = "0dvcvdb623jla29i93glx20nf8pbpfw6jj548ii6brzkcpafxxm8";
|
||||
cargoSha256 = "1a8idl6falz0n9irh1p8hv5w2pmiknzsfnxl70k1psnznrpk2y8n";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
||||
|
|
Loading…
Reference in New Issue