mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python3Packages.pywebview: 3.4 -> 3.5
This commit is contained in:
parent
92c40f2d59
commit
52a8e8d23a
@ -7,18 +7,19 @@
|
||||
, pythonOlder
|
||||
, qt5
|
||||
, xvfb-run
|
||||
, proxy_tools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywebview";
|
||||
version = "3.4";
|
||||
version = "3.5";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r0x0r";
|
||||
repo = "pywebview";
|
||||
rev = version;
|
||||
sha256 = "sha256-3JHwtw8oReolEl4k8cdt7GCVGNkfWWJN6EnZYHxzDO8=";
|
||||
sha256 = "sha256-+At/ToEylSPcLh/u2NHVTXQpMnw+2/afsevg5YAX/4c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -27,6 +28,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyqtwebengine
|
||||
proxy_tools
|
||||
] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ];
|
||||
|
||||
checkInputs = [
|
||||
@ -52,6 +54,8 @@ buildPythonPackage rec {
|
||||
popd
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "webview" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/r0x0r/pywebview";
|
||||
description = "Lightweight cross-platform wrapper around a webview";
|
||||
|
Loading…
Reference in New Issue
Block a user