Merge pull request #51725 from das-g/geckodriver-0.22.0

geckodriver: unstable-2018-02-24 -> 0.22.0
This commit is contained in:
Alyssa Ross 2018-12-10 15:57:45 +00:00 committed by GitHub
commit c9ead109ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";