40 lines
790 B
Nix
40 lines
790 B
Nix
{
|
|
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;
|
|
};
|
|
}
|