geckodriver: 0.22.0 -> 0.26.0
This commit is contained in:
parent
7869cd26b3
commit
19e37edc78
1846
pkgs/development/tools/geckodriver/cargo-lock.patch
Normal file
1846
pkgs/development/tools/geckodriver/cargo-lock.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,27 +1,30 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchzip
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
version = "0.22.0";
|
||||
rustPlatform.buildRustPackage {
|
||||
version = "0.26.0";
|
||||
pname = "geckodriver";
|
||||
sourceRoot = "source/testing/geckodriver";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "geckodriver";
|
||||
rev = "v${version}";
|
||||
sha256 = "12m95lfqwdxs2m5kjh3yrpm9w2li5m8n3fw46a2nkxyfw6c94l4b";
|
||||
};
|
||||
# Source revisions are noted alongside the binary releases:
|
||||
# https://github.com/mozilla/geckodriver/releases
|
||||
src = (fetchzip {
|
||||
url = "https://hg.mozilla.org/mozilla-central/archive/e9783a644016aa9b317887076618425586730d73.zip/testing";
|
||||
sha256 = "0m86hqyq1jrr49jkc8mnlmx4bdq281hyxhcrrzacyv20nlqwvd8v";
|
||||
}).overrideAttrs (_: {
|
||||
# normally guessed by the url's file extension, force it to unpack properly
|
||||
unpackCmd = "unzip $curSrc";
|
||||
});
|
||||
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
cargoSha256 = "07w5lmvm5w6id0qikcs968n0c69bb6fav63l66bskxcjva67d6dy";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
cargoSha256 = "1pwg35kgn5z2zrlj1dwcbbdmkgmnvfxpxv4klzsxxg4m9xr1pfy4";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
||||
homepage = https://github.com/mozilla/geckodriver;
|
||||
|
Loading…
Reference in New Issue
Block a user