Merge pull request #149551 from jojosch/pywebview-3.5

python3Packages.pywebview: 3.4 -> 3.5
This commit is contained in:
Mario Rodas 2021-12-19 23:11:49 -05:00 committed by GitHub
commit aea3be19b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "proxy_tools";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zLN1H1KcBH4tilhEDYayBTA88P6BRveE0cvNlPCigBA=";
};
# no tests in pypi
doCheck = false;
pythonImportsCheck = [ "proxy_tools" ];
meta = with lib; {
homepage = "https://github.com/jtushman/proxy_tools";
description = "Simple (hopefuly useful) Proxy (as in the GoF design pattern) implementation for Python";
license = licenses.bsd2;
maintainers = with maintainers; [ jojosch ];
};
}

View File

@ -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";

View File

@ -5877,6 +5877,8 @@ in {
ppdeep = callPackage ../development/python-modules/ppdeep { };
proxy_tools = callPackage ../development/python-modules/proxy_tools { };
pyaehw4a1 = callPackage ../development/python-modules/pyaehw4a1 { };
pyatag = callPackage ../development/python-modules/pyatag { };