Loading pkgs/development/python-modules/playwright/default.nix +3 −5 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ in buildPythonPackage rec { pname = "playwright"; # run ./pkgs/development/python-modules/playwright/update.sh to update version = "1.50.0"; version = "1.52.0"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "playwright-python"; tag = "v${version}"; hash = "sha256-g32QwEA4Ofzh7gVEsC++uA/XqT1eIrUH+fQi15SRxko="; hash = "sha256-8hl+5kIORq9uwYbf9354iqlL0RIkhTnokzQXoYFr5AI="; }; patches = [ Loading @@ -51,9 +51,7 @@ buildPythonPackage rec { git config --global user.name "nixpkgs" git commit -m "workaround setuptools-scm" substituteInPlace pyproject.toml \ --replace-fail 'requires = ["setuptools==75.6.0", "setuptools-scm==8.1.0", "wheel==0.45.1", "auditwheel==6.2.0"]' \ 'requires = ["setuptools", "setuptools-scm", "wheel"]' sed -i -e 's/requires = \["setuptools==.*", "setuptools-scm==.*", "wheel==.*", "auditwheel==.*"\]/requires = ["setuptools", "setuptools-scm", "wheel"]/' pyproject.toml # setup.py downloads and extracts the driver. # This is done manually in postInstall instead. Loading pkgs/development/python-modules/playwright/update.sh +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ replace_sha() { prefetch_browser() { # nix-prefetch is used to obtain sha with `stripRoot = false` # doesn't work on macOS https://github.com/msteen/nix-prefetch/issues/53 nix-prefetch -q "{ stdenv, fetchzip }: stdenv.mkDerivation { name=\"browser\"; src = fetchzip { url = \"$1\"; stripRoot = $2; }; }" nix-prefetch --option extra-experimental-features flakes -q "{ stdenv, fetchzip }: stdenv.mkDerivation { name=\"browser\"; src = fetchzip { url = \"$1\"; stripRoot = $2; }; }" } update_browser() { Loading pkgs/development/web/playwright/browsers.json +12 −6 Original line number Diff line number Diff line Loading @@ -2,15 +2,19 @@ "comment": "This file is kept up to date via update.sh", "browsers": { "chromium": { "revision": "1155", "browserVersion": "133.0.6943.16" "revision": "1169", "browserVersion": "136.0.7103.25" }, "chromium-headless-shell": { "revision": "1169", "browserVersion": "136.0.7103.25" }, "firefox": { "revision": "1471", "browserVersion": "134.0" "revision": "1482", "browserVersion": "137.0" }, "webkit": { "revision": "2123", "revision": "2158", "revisionOverrides": { "debian11-x64": "2105", "debian11-arm64": "2105", Loading @@ -20,10 +24,12 @@ "mac11-arm64": "1816", "mac12": "2009", "mac12-arm64": "2009", "mac13": "2140", "mac13-arm64": "2140", "ubuntu20.04-x64": "2092", "ubuntu20.04-arm64": "2092" }, "browserVersion": "18.2" "browserVersion": "18.4" }, "ffmpeg": { "revision": "1011", Loading pkgs/development/web/playwright/chromium-headless-shell.nix +4 −4 Original line number Diff line number Diff line Loading @@ -30,8 +30,8 @@ let stripRoot = false; hash = { x86_64-linux = "sha256-UNLSiI9jWLev2YwqiXuoHwJfdB4teNhEfQjQRBEo8uY="; aarch64-linux = "sha256-aVGLcJHFER09frJdKsGW/pKPl5MXoXef2hy5WTA8rS4="; x86_64-linux = "sha256-WCn3j9JnKqGJoQ4X2FWdghha/AxusqCYTCL0sEpA2pM="; aarch64-linux = "sha256-IIz4E4ylXU5e4XAyqOI6yXc680Lb5bFze0VRuB8Wwck="; } .${system} or throwSystem; }; Loading Loading @@ -66,8 +66,8 @@ let stripRoot = false; hash = { x86_64-darwin = "sha256-c26ubAgM9gQPaYqobQyS3Y7wvMUmmdpDlrYmZJrUgho="; aarch64-darwin = "sha256-XRFqlhVx+GuDxz/kDP8TtyPQfR0JbFD0qu5OSywGTX8="; x86_64-darwin = "sha256-346DDhORd+wGchEpU3Tf3DSwlo8fejomgSUqmF/HmA4="; aarch64-darwin = "sha256-3WMfwOVlap5HxLzalg8+TTlsyda/HPabJMM0T31UKlE="; } .${system} or throwSystem; }; Loading pkgs/development/web/playwright/chromium.nix +2 −2 Original line number Diff line number Diff line Loading @@ -34,8 +34,8 @@ let stripRoot = false; hash = { x86_64-darwin = "sha256-seMHD+TmxrfgsN6sLN2Bp3WgAooDnlSxGN6CPw1Q790="; aarch64-darwin = "sha256-SsIRzxTIuf/mwsYvRM2mv8PzWQAAflxOyoK5TuyhMAU="; x86_64-darwin = "sha256-IJxCYtHTOtBxQdGbiLz+PODQL4rmBn4WXNJ3QNr0D/I="; aarch64-darwin = "sha256-6QP1OY1krhcfMf5rNzbd55W/Wg02LnbqaU7aKWhJ7qM="; } .${system} or throwSystem; }; Loading Loading
pkgs/development/python-modules/playwright/default.nix +3 −5 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ in buildPythonPackage rec { pname = "playwright"; # run ./pkgs/development/python-modules/playwright/update.sh to update version = "1.50.0"; version = "1.52.0"; pyproject = true; disabled = pythonOlder "3.9"; Loading @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "playwright-python"; tag = "v${version}"; hash = "sha256-g32QwEA4Ofzh7gVEsC++uA/XqT1eIrUH+fQi15SRxko="; hash = "sha256-8hl+5kIORq9uwYbf9354iqlL0RIkhTnokzQXoYFr5AI="; }; patches = [ Loading @@ -51,9 +51,7 @@ buildPythonPackage rec { git config --global user.name "nixpkgs" git commit -m "workaround setuptools-scm" substituteInPlace pyproject.toml \ --replace-fail 'requires = ["setuptools==75.6.0", "setuptools-scm==8.1.0", "wheel==0.45.1", "auditwheel==6.2.0"]' \ 'requires = ["setuptools", "setuptools-scm", "wheel"]' sed -i -e 's/requires = \["setuptools==.*", "setuptools-scm==.*", "wheel==.*", "auditwheel==.*"\]/requires = ["setuptools", "setuptools-scm", "wheel"]/' pyproject.toml # setup.py downloads and extracts the driver. # This is done manually in postInstall instead. Loading
pkgs/development/python-modules/playwright/update.sh +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ replace_sha() { prefetch_browser() { # nix-prefetch is used to obtain sha with `stripRoot = false` # doesn't work on macOS https://github.com/msteen/nix-prefetch/issues/53 nix-prefetch -q "{ stdenv, fetchzip }: stdenv.mkDerivation { name=\"browser\"; src = fetchzip { url = \"$1\"; stripRoot = $2; }; }" nix-prefetch --option extra-experimental-features flakes -q "{ stdenv, fetchzip }: stdenv.mkDerivation { name=\"browser\"; src = fetchzip { url = \"$1\"; stripRoot = $2; }; }" } update_browser() { Loading
pkgs/development/web/playwright/browsers.json +12 −6 Original line number Diff line number Diff line Loading @@ -2,15 +2,19 @@ "comment": "This file is kept up to date via update.sh", "browsers": { "chromium": { "revision": "1155", "browserVersion": "133.0.6943.16" "revision": "1169", "browserVersion": "136.0.7103.25" }, "chromium-headless-shell": { "revision": "1169", "browserVersion": "136.0.7103.25" }, "firefox": { "revision": "1471", "browserVersion": "134.0" "revision": "1482", "browserVersion": "137.0" }, "webkit": { "revision": "2123", "revision": "2158", "revisionOverrides": { "debian11-x64": "2105", "debian11-arm64": "2105", Loading @@ -20,10 +24,12 @@ "mac11-arm64": "1816", "mac12": "2009", "mac12-arm64": "2009", "mac13": "2140", "mac13-arm64": "2140", "ubuntu20.04-x64": "2092", "ubuntu20.04-arm64": "2092" }, "browserVersion": "18.2" "browserVersion": "18.4" }, "ffmpeg": { "revision": "1011", Loading
pkgs/development/web/playwright/chromium-headless-shell.nix +4 −4 Original line number Diff line number Diff line Loading @@ -30,8 +30,8 @@ let stripRoot = false; hash = { x86_64-linux = "sha256-UNLSiI9jWLev2YwqiXuoHwJfdB4teNhEfQjQRBEo8uY="; aarch64-linux = "sha256-aVGLcJHFER09frJdKsGW/pKPl5MXoXef2hy5WTA8rS4="; x86_64-linux = "sha256-WCn3j9JnKqGJoQ4X2FWdghha/AxusqCYTCL0sEpA2pM="; aarch64-linux = "sha256-IIz4E4ylXU5e4XAyqOI6yXc680Lb5bFze0VRuB8Wwck="; } .${system} or throwSystem; }; Loading Loading @@ -66,8 +66,8 @@ let stripRoot = false; hash = { x86_64-darwin = "sha256-c26ubAgM9gQPaYqobQyS3Y7wvMUmmdpDlrYmZJrUgho="; aarch64-darwin = "sha256-XRFqlhVx+GuDxz/kDP8TtyPQfR0JbFD0qu5OSywGTX8="; x86_64-darwin = "sha256-346DDhORd+wGchEpU3Tf3DSwlo8fejomgSUqmF/HmA4="; aarch64-darwin = "sha256-3WMfwOVlap5HxLzalg8+TTlsyda/HPabJMM0T31UKlE="; } .${system} or throwSystem; }; Loading
pkgs/development/web/playwright/chromium.nix +2 −2 Original line number Diff line number Diff line Loading @@ -34,8 +34,8 @@ let stripRoot = false; hash = { x86_64-darwin = "sha256-seMHD+TmxrfgsN6sLN2Bp3WgAooDnlSxGN6CPw1Q790="; aarch64-darwin = "sha256-SsIRzxTIuf/mwsYvRM2mv8PzWQAAflxOyoK5TuyhMAU="; x86_64-darwin = "sha256-IJxCYtHTOtBxQdGbiLz+PODQL4rmBn4WXNJ3QNr0D/I="; aarch64-darwin = "sha256-6QP1OY1krhcfMf5rNzbd55W/Wg02LnbqaU7aKWhJ7qM="; } .${system} or throwSystem; }; Loading