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:
Raphael Borun Das Gupta 2018-12-08 12:24:26 +01:00
parent c37ae1dcf6
commit 1edf950fa2
1 changed files with 8 additions and 6 deletions

View File

@ -1,24 +1,26 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, stdenv
, darwin
}: }:
with rustPlatform; with rustPlatform;
buildRustPackage rec { buildRustPackage rec {
version = "unstable-2018-02-24"; version = "0.22.0";
name = "geckodriver-${version}"; name = "geckodriver-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mozilla"; owner = "mozilla";
repo = "gecko-dev"; repo = "geckodriver";
rev = "ecb86060b4c5a9808798b81a57e79e821bb47082"; rev = "v${version}";
sha256 = "1am84a60adw0bb12rlhdqbiwyywhza4qp5sf4f4fmssjl2qcr6nl"; sha256 = "12m95lfqwdxs2m5kjh3yrpm9w2li5m8n3fw46a2nkxyfw6c94l4b";
}; };
sourceRoot = "${src.name}/testing/geckodriver"; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
cargoSha256 = "0dvcvdb623jla29i93glx20nf8pbpfw6jj548ii6brzkcpafxxm8"; cargoSha256 = "1a8idl6falz0n9irh1p8hv5w2pmiknzsfnxl70k1psnznrpk2y8n";
meta = with lib; { meta = with lib; {
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers"; description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";