parent
504bf92ee2
commit
452f9ca8ef
|
@ -1,20 +1,24 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
version = "0.19.1";
|
||||
version = "unstable-2018-02-24";
|
||||
name = "geckodriver-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mozilla/geckodriver/archive/v${version}.tar.gz";
|
||||
sha256 = "04zpv4aiwbig466yj24hhazl5hrapkyvwlhvg0za5599ykzdv47m";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "gecko-dev";
|
||||
rev = "ecb86060b4c5a9808798b81a57e79e821bb47082";
|
||||
sha256 = "1am84a60adw0bb12rlhdqbiwyywhza4qp5sf4f4fmssjl2qcr6nl";
|
||||
};
|
||||
|
||||
cargoSha256 = "1cny8caqcd9p98hra1k7y4d3lb8sxsyaplr0svbwam0d2qc1c257";
|
||||
sourceRoot = "${src.name}/testing/geckodriver";
|
||||
|
||||
cargoSha256 = "0dvcvdb623jla29i93glx20nf8pbpfw6jj548ii6brzkcpafxxm8";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
||||
|
|
Loading…
Reference in a new issue