diff options
author | André Vitor de Lima Matos <andre.vmatos@gmail.com> | 2022-04-21 12:23:50 -0300 |
---|---|---|
committer | André Vitor de Lima Matos <andre.vmatos@gmail.com> | 2022-04-24 19:07:37 -0300 |
commit | 69b03815604f684b45372797d14d08a35bb7a1a9 (patch) | |
tree | 05e89b7a60ee5eb46b15195fa09da752125ceec0 /pkgs/applications/kde | |
parent | fa5f78712ddf6e4da638646ca4e15d4952f3beba (diff) |
falkon: 3.2.0 -> 22.04.0, kde gear
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r-- | pkgs/applications/kde/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/kde/falkon.nix | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 933f8e46fe229..8bd3dcb870405 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -86,6 +86,7 @@ let dragon = callPackage ./dragon.nix {}; elisa = callPackage ./elisa.nix {}; eventviews = callPackage ./eventviews.nix {}; + falkon = callPackage ./falkon.nix {}; ffmpegthumbs = callPackage ./ffmpegthumbs.nix { }; filelight = callPackage ./filelight.nix {}; granatier = callPackage ./granatier.nix {}; diff --git a/pkgs/applications/kde/falkon.nix b/pkgs/applications/kde/falkon.nix new file mode 100644 index 0000000000000..94cf6f5cfd255 --- /dev/null +++ b/pkgs/applications/kde/falkon.nix @@ -0,0 +1,40 @@ +{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch +, cmake, extra-cmake-modules, pkg-config +, libpthreadstubs, libxcb, libXdmcp +, qtsvg, qttools, qtwebengine, qtx11extras +, qtwayland, wrapQtAppsHook +, kwallet, kpurpose, karchive, kio +}: + +mkDerivation rec { + pname = "falkon"; + + preConfigure = '' + export NONBLOCK_JS_DIALOGS=true + export KDE_INTEGRATION=true + export GNOME_INTEGRATION=false + export FALKON_PREFIX=$out + ''; + + buildInputs = [ + libpthreadstubs libxcb libXdmcp + qtsvg qttools qtwebengine qtx11extras + kwallet kpurpose karchive kio + ] ++ lib.optionals stdenv.isLinux [ qtwayland ]; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + pkg-config + qttools + wrapQtAppsHook + ]; + + meta = with lib; { + description = "QtWebEngine based cross-platform web browser"; + homepage = "https://www.falkon.org"; + license = licenses.gpl3; + maintainers = with maintainers; [ peterhoeg ]; + platforms = platforms.unix; + }; +} |