3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/falkon/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig, qmake
, libpthreadstubs, libxcb, libXdmcp, qtsvg, qttools, qtwebengine, qtx11extras, kwallet }:
2017-09-11 11:08:45 +01:00
stdenv.mkDerivation rec {
2018-03-05 06:37:23 +00:00
name = "falkon-${version}";
version = "3.0.1";
2017-09-11 11:08:45 +01:00
src = fetchFromGitHub {
owner = "KDE";
repo = "falkon";
2018-03-05 06:37:23 +00:00
rev = "v${version}";
sha256 = "1ay1ljrdjcfqwjv4rhf4psh3dfihnvhpmpqcayd3p9lh57x7fh41";
2017-09-11 11:08:45 +01:00
};
preConfigure = ''
export NONBLOCK_JS_DIALOGS=true
export KDE_INTEGRATION=true
export GNOME_INTEGRATION=false
export FALKON_PREFIX=$out
'';
buildInputs = [
libpthreadstubs libxcb libXdmcp
kwallet
qtsvg qtwebengine qtx11extras
];
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qmake qttools ];
2018-02-17 10:06:08 +00:00
enableParallelBuilding = true;
2017-09-11 11:08:45 +01: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;
};
}