forked from mirrors/nixpkgs
Merge pull request #169318 from fabaff/pywebview-fix
python3Packages.pywebview: 3.6.1 -> 3.6.3
This commit is contained in:
commit
592db127b1
|
@ -2,24 +2,29 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, importlib-resources
|
, importlib-resources
|
||||||
|
, proxy_tools
|
||||||
|
, pygobject3
|
||||||
, pyqtwebengine
|
, pyqtwebengine
|
||||||
, pytest
|
, pytest
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, qt5
|
, qt5
|
||||||
|
, qtpy
|
||||||
|
, six
|
||||||
, xvfb-run
|
, xvfb-run
|
||||||
, proxy_tools
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pywebview";
|
pname = "pywebview";
|
||||||
version = "3.6.1";
|
version = "3.6.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "r0x0r";
|
owner = "r0x0r";
|
||||||
repo = "pywebview";
|
repo = "pywebview";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-9o9ghqvU9Hnmf2aj/BqX7WBgS9ilRSnicR+qd25OfjI=";
|
hash = "sha256-qOLK4MHdpmcCazCNfojncD8XH7OJB2H/pIW5XAJAlDo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -29,10 +34,15 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyqtwebengine
|
pyqtwebengine
|
||||||
proxy_tools
|
proxy_tools
|
||||||
] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ];
|
six
|
||||||
|
] ++ lib.optionals (pythonOlder "3.7") [
|
||||||
|
importlib-resources
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pygobject3
|
||||||
pytest
|
pytest
|
||||||
|
qtpy
|
||||||
xvfb-run
|
xvfb-run
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -54,11 +64,13 @@ buildPythonPackage rec {
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "webview" ];
|
pythonImportsCheck = [
|
||||||
|
"webview"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/r0x0r/pywebview";
|
|
||||||
description = "Lightweight cross-platform wrapper around a webview";
|
description = "Lightweight cross-platform wrapper around a webview";
|
||||||
|
homepage = "https://github.com/r0x0r/pywebview";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ jojosch ];
|
maintainers = with maintainers; [ jojosch ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue