6 chromium.mkDerivation (_: {
8 packageName = "chromedriver";
10 # Build the unstripped target, because stripping in Chromium relies on a prebuilt strip binary
11 # that doesn't run on NixOS, and we will strip everything ourselves later anyway.
12 buildTargets = [ "chromedriver.unstripped" ];
15 install -Dm555 $buildPath/chromedriver.unstripped $out/bin/chromedriver
18 # Kill existing postFixup that tries to patchelf things
21 passthru.tests.version = testers.testVersion { package = chromedriver; };
23 meta = chromium.meta // {
24 homepage = "https://chromedriver.chromium.org/";
25 description = "WebDriver server for running Selenium tests on Chrome";
27 WebDriver is an open source tool for automated testing of webapps across
28 many browsers. It provides capabilities for navigating to web pages, user
29 input, JavaScript execution, and more. ChromeDriver is a standalone
30 server that implements the W3C WebDriver standard.
32 mainProgram = "chromedriver";