fix: build oraios-pywebview for serena

This commit is contained in:
2026-04-13 14:27:35 +02:00
parent 7f6a99a17c
commit a942638510
4 changed files with 70 additions and 28 deletions
+39
View File
@@ -0,0 +1,39 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonPackage rec {
pname = "oraios-pywebview";
version = "6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "oraios";
repo = "pywebview";
tag = "v${version}";
hash = "sha256-i99O0UuyfepQHBTpeeL07TY7AbygP+/XFxX3Q8JluIU=";
};
build-system = [ python3Packages.setuptools-scm ];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
dependencies = with python3Packages; [
bottle
pyside6
proxy-tools
qtpy
six
typing-extensions
];
pythonImportsCheck = [ "webview" ];
meta = {
description = "Lightweight cross-platform wrapper around a webview (oraios fork)";
homepage = "https://github.com/oraios/pywebview";
license = lib.licenses.bsd3;
};
}