1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 bottle, 7 proxy-tools, 8 pyside6, 9 qtpy, 10 six, 11 typing-extensions, 12}: 13 14buildPythonPackage rec { 15 pname = "pywebview"; 16 version = "6.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "r0x0r"; 21 repo = "pywebview"; 22 tag = version; 23 hash = "sha256-EuDm3Ixw1z5xwpl4U15Xwg5mE3dXslTvv0N0XyjxrAg="; 24 }; 25 26 build-system = [ setuptools-scm ]; 27 28 dependencies = [ 29 bottle 30 pyside6 31 proxy-tools 32 qtpy 33 six 34 typing-extensions 35 ]; 36 37 pythonImportsCheck = [ "webview" ]; 38 39 meta = with lib; { 40 description = "Lightweight cross-platform wrapper around a webview"; 41 homepage = "https://github.com/r0x0r/pywebview"; 42 license = licenses.bsd3; 43 maintainers = with maintainers; [ jojosch ]; 44 }; 45}