nixpkgs-suyu/pkgs/applications/kde/falkon.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
992 B
Nix
Raw Normal View History

2020-05-21 17:28:29 +02:00
{ stdenv, mkDerivation, lib, fetchFromGitHub, fetchpatch
2022-04-21 17:23:50 +02:00
, cmake, extra-cmake-modules, pkg-config
2018-11-05 22:12:25 +01:00
, libpthreadstubs, libxcb, libXdmcp
, qtsvg, qttools, qtwebengine, qtx11extras
2020-06-03 11:12:46 +02:00
, qtwayland, wrapQtAppsHook
2022-04-21 17:23:50 +02:00
, kwallet, kpurpose, karchive, kio
2018-11-05 22:12:25 +01:00
}:
2017-09-11 12:08:45 +02:00
mkDerivation rec {
pname = "falkon";
2017-09-11 12:08:45 +02:00
preConfigure = ''
export NONBLOCK_JS_DIALOGS=true
export KDE_INTEGRATION=true
export GNOME_INTEGRATION=false
export FALKON_PREFIX=$out
'';
buildInputs = [
libpthreadstubs libxcb libXdmcp
2018-11-05 22:12:25 +01:00
qtsvg qttools qtwebengine qtx11extras
2022-04-21 17:23:50 +02:00
kwallet kpurpose karchive kio
2018-11-05 22:12:25 +01:00
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
2017-09-11 12:08:45 +02:00
2020-06-03 11:12:46 +02:00
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
2020-06-03 11:12:46 +02:00
qttools
wrapQtAppsHook
];
2017-09-11 12:08:45 +02:00
meta = with lib; {
2017-09-11 12:08:45 +02:00
description = "QtWebEngine based cross-platform web browser";
2022-04-21 17:23:50 +02:00
homepage = "https://www.falkon.org";
2017-09-11 12:08:45 +02:00
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}