2017-11-03 03:24:43 +00:00
|
|
|
{ lib
|
2022-10-07 02:17:32 +00:00
|
|
|
, fetchFromGitHub
|
2017-11-03 03:24:43 +00:00
|
|
|
, rustPlatform
|
2018-12-08 11:24:26 +00:00
|
|
|
, stdenv
|
2021-04-13 14:05:07 +00:00
|
|
|
, Security
|
|
|
|
, libiconv
|
2017-11-03 03:24:43 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-07 02:17:32 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-04-09 14:52:40 +00:00
|
|
|
version = "0.33.0";
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "geckodriver";
|
2017-11-03 03:24:43 +00:00
|
|
|
|
2022-10-07 02:17:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla";
|
|
|
|
repo = "geckodriver";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-09 14:52:40 +00:00
|
|
|
sha256 = "sha256-IBzLxiqfXFiEaDmCVZjAJCPcVInBT1ZZ5fkCOHedZkA=";
|
2022-10-07 02:17:32 +00:00
|
|
|
};
|
2017-11-03 03:24:43 +00:00
|
|
|
|
2023-04-09 14:52:40 +00:00
|
|
|
cargoHash = "sha256-4/VmF8reY0pz8wswQn3IlTNt6SaVunr2v+hv+oM+G/s=";
|
2018-02-24 22:57:30 +00:00
|
|
|
|
2021-04-13 14:05:07 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
2017-11-03 03:24:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/mozilla/geckodriver";
|
2017-11-03 03:24:43 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ jraygauthier ];
|
|
|
|
};
|
|
|
|
}
|