1: with rec { 2: inherit (import ../..) nix-helpers; 3: inherit (nix-helpers) nixpkgs; 4: }; 5: { 6: python3 ? nixpkgs.python3, 7: socat ? nixpkgs.socat, 8: writeShellApplication ? nixpkgs.writeShellApplication, 9: }: 10: writeShellApplication { 11: name = "pyselenium"; 12: runtimeInputs = [ socat ]; 13: text = '' 14: exec ${python3.withPackages (p: [ p.selenium ])}/bin/python3 \ 15: ${./pyselenium.py} "$@" 16: ''; 17: }