python3Packages.pyppeteer: 0.2.6 -> 1.0.2

This commit is contained in:
Fabian Affolter 2022-04-19 12:17:50 +02:00
parent b05096d0d9
commit c6950658da

View File

@ -1,6 +1,7 @@
{ lib { lib
, appdirs , appdirs
, buildPythonPackage , buildPythonPackage
, certifi
, fetchFromGitHub , fetchFromGitHub
, importlib-metadata , importlib-metadata
, poetry-core , poetry-core
@ -16,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyppeteer"; pname = "pyppeteer";
version = "0.2.6"; version = "1.0.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -25,7 +26,7 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-mMFQp8GMjKUc3yyB4c8Tgxut7LkMFa2cySO3iSA/aI4="; sha256 = "sha256-izMaWtJdkLHMQbyq7o7n46xB8dOHXZ5uO0UXt+twjL4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,6 +35,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
appdirs appdirs
certifi
importlib-metadata importlib-metadata
pyee pyee
tqdm tqdm
@ -49,6 +51,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'pyee = "^8.1.0"' 'pyee = "*"' \
--replace 'websockets = "^9.1"' 'websockets = "*"' --replace 'websockets = "^9.1"' 'websockets = "*"'
''; '';