diff --git a/pkgs/development/python-modules/pywebview/default.nix b/pkgs/development/python-modules/pywebview/default.nix new file mode 100644 index 000000000000..f12d943aad7c --- /dev/null +++ b/pkgs/development/python-modules/pywebview/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchFromGitHub }: + +buildPythonPackage rec { + pname = "pywebview"; + version = "3.2"; + + src = fetchFromGitHub { + owner = "r0x0r"; + repo = "pywebview"; + rev = version; + sha256 = "0anwm6s0pp7xmgylr4m52v7lw825sdby7fajcl929l099n757gq7"; + }; + + # disabled due to error in loading unittest + # don't know how to make test from: None + doCheck = false; + + meta = with lib; { + homepage = "https://github.com/r0x0r/pywebview"; + description = "Lightweight cross-platform wrapper around a webview."; + license = licenses.bsd3; + maintainers = with maintainers; [ jojosch ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 13f9a5ea2d97..ee2eaffbb0bf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1354,6 +1354,8 @@ in { pywebpush = callPackage ../development/python-modules/pywebpush { }; + pywebview = callPackage ../development/python-modules/pywebview { }; + pywick = callPackage ../development/python-modules/pywick { }; pyxml = disabledIf isPy3k (callPackage ../development/python-modules/pyxml{ });