nixpkgs-suyu/pkgs/applications/networking/browsers/falkon/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

2018-11-05 22:12:25 +01:00
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig, qmake
, libpthreadstubs, libxcb, libXdmcp
, qtsvg, qttools, qtwebengine, qtx11extras
, qtwayland
, kwallet
}:
2017-09-11 12:08:45 +02:00
stdenv.mkDerivation rec {
2018-03-05 07:37:23 +01:00
name = "falkon-${version}";
version = "3.1.0";
2017-09-11 12:08:45 +02:00
src = fetchFromGitHub {
owner = "KDE";
repo = "falkon";
2018-03-05 07:37:23 +01:00
rev = "v${version}";
sha256 = "1w64slh9wpcfi4v7ds9wci1zvwh0dh787ndpi6hd4kmdgnswvsw7";
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
2017-09-11 12:08:45 +02:00
kwallet
2018-11-05 22:12:25 +01:00
] ++ lib.optionals stdenv.isLinux [ qtwayland ];
2017-09-11 12:08:45 +02:00
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qmake qttools ];
2018-02-17 11:06:08 +01:00
enableParallelBuilding = true;
2017-09-11 12:08:45 +02:00
meta = with stdenv.lib; {
description = "QtWebEngine based cross-platform web browser";
homepage = https://community.kde.org/Incubator/Projects/Falkon;
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}