summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/falkon
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-09-11 18:08:45 +0800
committerPeter Hoeg <peter@hoeg.com>2017-09-30 09:56:49 +0800
commit812ddbf4068ed25f67976edef69e26b62538d672 (patch)
tree8faad30a8458438cab137929650e23d470eb3bd9 /pkgs/applications/networking/browsers/falkon
parent08b1bc9fcb72961eefb1f25673f353ad3705a2ee (diff)
downloadnixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar.gz
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar.bz2
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar.lz
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar.xz
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.tar.zst
nixlib-812ddbf4068ed25f67976edef69e26b62538d672.zip
falkon: init at 2.1.2.1
Diffstat (limited to 'pkgs/applications/networking/browsers/falkon')
-rw-r--r--pkgs/applications/networking/browsers/falkon/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/falkon/default.nix b/pkgs/applications/networking/browsers/falkon/default.nix
new file mode 100644
index 000000000000..715fefe17d83
--- /dev/null
+++ b/pkgs/applications/networking/browsers/falkon/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig, qmake
+, libpthreadstubs, libxcb, libXdmcp, qtsvg, qttools, qtwebengine, qtx11extras, kwallet, openssl }:
+
+stdenv.mkDerivation rec {
+  # Last qupvilla release is 2.1.2 so we add the .1 although it isn't actually a
+  # release but it is basically 2.1.2 with the falkon name
+  name = "falkon-${version}.1";
+  version = "2.1.2";
+
+  src = fetchFromGitHub {
+    owner  = "KDE";
+    repo   = "falkon";
+    rev    = "eecaf2e9d6b572a7f7d2e6dc324e3d79b61c31db";
+    sha256 = "01r5aw10jd0qz7xvad0cqzjbnsj7vwblh54wbq4x1m6xbkp6xcgy";
+  };
+
+  preConfigure = ''
+    export NONBLOCK_JS_DIALOGS=true
+    export KDE_INTEGRATION=true
+    export GNOME_INTEGRATION=false
+    export FALKON_PREFIX=$out
+  '';
+
+  dontUseCmakeConfigure = true;
+
+  buildInputs = [
+    libpthreadstubs libxcb libXdmcp
+    kwallet
+    qtsvg qtwebengine qtx11extras
+  ];
+
+  nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qmake qttools ];
+
+  enableParallelBuilding = true;
+
+  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;
+  };
+}