Skip to content

Commit

Permalink
playwright: 1.47.0 -> 1.48.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekseev committed Jan 22, 2025
1 parent 9585410 commit aeba1dd
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 23 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/playwright/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ in
buildPythonPackage rec {
pname = "playwright";
# run ./pkgs/development/python-modules/playwright/update.sh to update
version = "1.47.0";
version = "1.48.0";
pyproject = true;
disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "microsoft";
repo = "playwright-python";
tag = "v${version}";
hash = "sha256-C/spH54hhLI0Egs2jjTjQ5BH1pIw1syrfSyUvVQRoKM=";
hash = "sha256-ZWVySGehR5r6s0y6qCZuFI8SobYbjWP+A6Rgfug2JEE=";
};

patches = [
Expand Down
16 changes: 10 additions & 6 deletions pkgs/development/web/playwright/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"comment": "This file is kept up to date via update.sh",
"browsers": {
"chromium": {
"revision": "1134",
"browserVersion": "129.0.6668.29"
"revision": "1140",
"browserVersion": "130.0.6723.31"
},
"firefox": {
"revision": "1463",
"browserVersion": "130.0"
"revision": "1465",
"browserVersion": "131.0"
},
"webkit": {
"revision": "2070",
"revision": "2083",
"revisionOverrides": {
"mac10.14": "1446",
"mac10.15": "1616",
Expand All @@ -22,7 +22,11 @@
"browserVersion": "18.0"
},
"ffmpeg": {
"revision": "1010"
"revision": "1010",
"revisionOverrides": {
"mac12": "1010",
"mac12-arm64": "1010"
}
}
}
}
4 changes: 2 additions & 2 deletions pkgs/development/web/playwright/chromium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ let
stripRoot = false;
hash =
{
x86_64-darwin = "sha256-G9DPo/pXFuaZICT47TSE+bvncS//ydylJVpnfQYp68U=";
aarch64-darwin = "sha256-2JedruJ/y7Zidn6oRfUxi0MleaH5Cp6XQ+F7ImSCTjA=";
x86_64-darwin = "sha256-N/uh3Q2ivqeraAqRt80deVz1XEPyLTYI8L3DBfNQGWg=";
aarch64-darwin = "sha256-tR9PwGanPcsDQwi1BijeYJd9LhNIWgEoXs5u3gZpghU=";
}
.${system} or throwSystem;
};
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/web/playwright/driver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ let
}
.${system} or throwSystem;

version = "1.47.0";
version = "1.48.1";

src = fetchFromGitHub {
owner = "Microsoft";
repo = "playwright";
rev = "v${version}";
hash = "sha256-cKjVDy1wFo8NlF8v+8YBuQUF2OUYjCmv27uhEoVUrno=";
hash = "sha256-VMp/Tjd5w2v+IHD+CMaR/XdMJHkS/u7wFe0hNxa1TbE=";
};

babel-bundle = buildNpmPackage {
pname = "babel-bundle";
inherit version src;
sourceRoot = "${src.name}/packages/playwright/bundles/babel";
npmDepsHash = "sha256-HrDTkP2lHl2XKD8aGpmnf6YtSe/w9UePH5W9QfbaoMg=";
npmDepsHash = "sha256-kHuNFgxmyIoxTmvT+cyzDRfKNy18zzeUH3T+gJopWeA=";
dontNpmBuild = true;
installPhase = ''
cp -r . "$out"
Expand All @@ -50,7 +50,7 @@ let
pname = "expect-bundle";
inherit version src;
sourceRoot = "${src.name}/packages/playwright/bundles/expect";
npmDepsHash = "sha256-qnFx/AQZtmxNFrrabfOpsWy6I64DFJf3sWrJzL1wfU4=";
npmDepsHash = "sha256-KwxNqPefvPPHG4vbco2O4G8WlA7l33toJdfNWHMTDOQ=";
dontNpmBuild = true;
installPhase = ''
cp -r . "$out"
Expand Down Expand Up @@ -92,7 +92,7 @@ let
inherit version src;

sourceRoot = "${src.name}"; # update.sh depends on sourceRoot presence
npmDepsHash = "sha256-FaDTJmIiaaOCvq6tARfiWX5IBTTNOJ/iVkRsO4D8aqc=";
npmDepsHash = "sha256-cmUmYuUL7zfB7WEBKft43r69f7vaZDEjku8uwR3RZ1A=";

nativeBuildInputs = [ cacert ];

Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/web/playwright/firefox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ let
}.zip";
hash =
{
x86_64-linux = "sha256-Hd9LlSRLW51gDoFyszqvg46Q/sMizLRsVKAN9atbwsw=";
aarch64-linux = "sha256-SEXH3gLOfNjOcnNWQjQ5gaaow47veVs0BoTYSgXw+24=";
x86_64-linux = "sha256-L/CJVtj9bVXKuKSLWw0wAdNICiRTg5ek+fw4togBoSI=";
aarch64-linux = "sha256-DgCuX+6KSnoHNFoFUli6S20GGHOExARasiJY9fy3CCE=";
}
.${system} or throwSystem;
};
Expand All @@ -41,8 +41,8 @@ let
stripRoot = false;
hash =
{
x86_64-darwin = "sha256-tclyoXGK0oc40ppqFVHJEGOtiFpc/D8wB37tBHhYhjg=";
aarch64-darwin = "sha256-EEY3cxZaZwNbWwkWy8m9hSDgEV3hotcDPD1ehiQWFig=";
x86_64-darwin = "sha256-HJ0jBmTW/Zz2fkmSo1gEv5P58PGyhXKnJVxJ12Q4IiM=";
aarch64-darwin = "sha256-YnnG8BX06vQlJmzZGaCKq1wKGp3yRaUQ4RF+tEWoK6U=";
}
.${system} or throwSystem;
};
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/web/playwright/webkit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ let
stripRoot = false;
hash =
{
x86_64-linux = "sha256-pHYGQYwu47jdOAD+/mLrP6Dd+2aDMHENddVwAu0uEfI=";
aarch64-linux = "sha256-0UeYWjeFnQ8yVa3juWg7Z7VF1GDbP4pJ9OUJRbv1OJw=";
x86_64-linux = "sha256-vz/c2Bzr1NWRZZL5hIRwnor2Wte61gS++8rRfmy9T+0=";
aarch64-linux = "sha256-dS4Hsy/lGZWgznviwkslSk5oBYdUIBxeQPfaEyLNXyc=";
}
.${system} or throwSystem;
};
Expand Down Expand Up @@ -141,8 +141,8 @@ let
stripRoot = false;
hash =
{
x86_64-darwin = "sha256-sP7MxAMDkrBTN7HR44xrxKPdCF2HzsL5GiaCMHQcqeU=";
aarch64-darwin = "sha256-Sw2+w6HT/e0rdLp7jXj5g3C1Uh05JnP9MznIgg7Glyc=";
x86_64-darwin = "sha256-lOAHJaDXtt80RhqFNaO1JhaJH5WAu6+rpoR+IsfzGeM=";
aarch64-darwin = "sha256-GrjTnMGTPBdRI3xE5t9HbXLrvgOjCdqbJGElTKhUoA4=";
}
.${system} or throwSystem;
};
Expand Down

0 comments on commit aeba1dd

Please sign in to comment.