python3Packages.pywebview: 3.4 -> 3.5

This commit is contained in:
Johannes Schleifenbaum 2021-12-06 10:50:13 +01:00
parent 92c40f2d59
commit 52a8e8d23a
No known key found for this signature in database
GPG Key ID: 059093B1A278BCD0

View File

@ -7,18 +7,19 @@
, pythonOlder
, qt5
, xvfb-run
, proxy_tools
}:
buildPythonPackage rec {
pname = "pywebview";
version = "3.4";
version = "3.5";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "r0x0r";
repo = "pywebview";
rev = version;
sha256 = "sha256-3JHwtw8oReolEl4k8cdt7GCVGNkfWWJN6EnZYHxzDO8=";
sha256 = "sha256-+At/ToEylSPcLh/u2NHVTXQpMnw+2/afsevg5YAX/4c=";
};
nativeBuildInputs = [
@ -27,6 +28,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pyqtwebengine
proxy_tools
] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ];
checkInputs = [
@ -52,6 +54,8 @@ buildPythonPackage rec {
popd
'';
pythonImportsCheck = [ "webview" ];
meta = with lib; {
homepage = "https://github.com/r0x0r/pywebview";
description = "Lightweight cross-platform wrapper around a webview";