From b0933bdae7c3e5bac3fff2ab4b004e9780d00baf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Apr 2022 14:30:19 +0200 Subject: [PATCH] python3Packages.pywebview: 3.6.1 -> 3.6.3 --- .../python-modules/pywebview/default.nix | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pywebview/default.nix b/pkgs/development/python-modules/pywebview/default.nix index 2a369ca5704f..eaf4ae64a653 100644 --- a/pkgs/development/python-modules/pywebview/default.nix +++ b/pkgs/development/python-modules/pywebview/default.nix @@ -2,24 +2,29 @@ , buildPythonPackage , fetchFromGitHub , importlib-resources +, proxy_tools +, pygobject3 , pyqtwebengine , pytest , pythonOlder , qt5 +, qtpy +, six , xvfb-run -, proxy_tools }: buildPythonPackage rec { pname = "pywebview"; - version = "3.6.1"; + version = "3.6.3"; + format = "setuptools"; + disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "r0x0r"; repo = "pywebview"; rev = version; - sha256 = "sha256-9o9ghqvU9Hnmf2aj/BqX7WBgS9ilRSnicR+qd25OfjI="; + hash = "sha256-qOLK4MHdpmcCazCNfojncD8XH7OJB2H/pIW5XAJAlDo="; }; nativeBuildInputs = [ @@ -29,10 +34,15 @@ buildPythonPackage rec { propagatedBuildInputs = [ pyqtwebengine proxy_tools - ] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ]; + six + ] ++ lib.optionals (pythonOlder "3.7") [ + importlib-resources + ]; checkInputs = [ + pygobject3 pytest + qtpy xvfb-run ]; @@ -54,11 +64,13 @@ buildPythonPackage rec { popd ''; - pythonImportsCheck = [ "webview" ]; + pythonImportsCheck = [ + "webview" + ]; meta = with lib; { - homepage = "https://github.com/r0x0r/pywebview"; description = "Lightweight cross-platform wrapper around a webview"; + homepage = "https://github.com/r0x0r/pywebview"; license = licenses.bsd3; maintainers = with maintainers; [ jojosch ]; };