8 rustPlatform.buildRustPackage rec {
9 pname = "selenium-manager";
12 src = fetchFromGitHub {
15 rev = "selenium-${version}";
16 hash = "sha256-ykZdL2Rn+bU8do3e9zf9pJtInBNRGLcXi5pD1vm7OJY=";
19 sourceRoot = "${src.name}/rust";
21 cargoHash = "sha256-8is7lQ+V1Xf+Aturg836jRMoHIJzDoSVJT5ZOd8W51k=";
23 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
24 darwin.apple_sdk.frameworks.SystemConfiguration
28 # The test suite depends on a number of browsers and network requests,
29 # check the Gentoo package for inspiration
33 description = "Browser automation framework and ecosystem";
34 homepage = "https://github.com/SeleniumHQ/selenium";
35 license = licenses.asl20;
37 mainProgram = "selenium-manager";
38 platforms = platforms.all;