e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
31 lines
792 B
Nix
31 lines
792 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, stdenv
|
|
, Security
|
|
, libiconv
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
version = "0.34.0";
|
|
pname = "geckodriver";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mozilla";
|
|
repo = "geckodriver";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-jrF55j3/WKpGl7sJzRmPyaNMbxPqAoXWiuQJsxfIYgc=";
|
|
};
|
|
|
|
cargoHash = "sha256-4on4aBkRI9PiPgNcxVktTDX28qRy3hvV9+glNB6hT1k=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
|
|
|
meta = with lib; {
|
|
description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";
|
|
homepage = "https://github.com/mozilla/geckodriver";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ jraygauthier ];
|
|
mainProgram = "geckodriver";
|
|
};
|
|
}
|