{ lib, stdenv, chromedriver, python3, testers, }: stdenv.mkDerivation (finalAttrs: { pname = "undetected-chromedriver"; inherit (chromedriver) version; nativeBuildInputs = [ (python3.withPackages (ps: [ ps.undetected-chromedriver ])) ]; buildCommand = '' export HOME=$(mktemp -d) cp ${chromedriver}/bin/chromedriver . chmod +w chromedriver python <