Files
nixpkgs/pkgs/development/python-modules/pywebview/default.nix
K900 e621b5add5 python313Packages.pywebview: fix, use Qt 6, modernize
Tests are unfortunately dead now because they segfault
somewhere deep in qtwebengine code, jellyfin-mpv-shim
seems to run normally though.
2025-08-31 15:32:57 +03:00

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 ];
};
}