Tests are unfortunately dead now because they segfault somewhere deep in qtwebengine code, jellyfin-mpv-shim seems to run normally though.
46 lines
806 B
Nix
46 lines
806 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools-scm,
|
|
bottle,
|
|
proxy-tools,
|
|
pyside6,
|
|
qtpy,
|
|
six,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywebview";
|
|
version = "6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "r0x0r";
|
|
repo = "pywebview";
|
|
tag = version;
|
|
hash = "sha256-EuDm3Ixw1z5xwpl4U15Xwg5mE3dXslTvv0N0XyjxrAg=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [
|
|
bottle
|
|
pyside6
|
|
proxy-tools
|
|
qtpy
|
|
six
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "webview" ];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight cross-platform wrapper around a webview";
|
|
homepage = "https://github.com/r0x0r/pywebview";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ jojosch ];
|
|
};
|
|
}
|