about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/whatsapp-for-linux
diff options
context:
space:
mode:
authorWanderson Ferreira <wand@hey.com>2021-03-28 19:21:33 -0300
committerWanderson Ferreira <wand@hey.com>2021-03-28 19:21:33 -0300
commit084c3e7844313f20da6bec7932e60ad314f048c9 (patch)
tree3996ee9e1f21dff3dfb211d56d667faff5d3212b /pkgs/applications/networking/instant-messengers/whatsapp-for-linux
parent2f9d5ad739c541074029e113b12653c431877370 (diff)
whatsapp-for-linux: init-at 1.1.5
Whataspp is widely used in several contries as default messaging
system. We can rely on browser-based solution but an app is preferred
method for several users.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/whatsapp-for-linux')
-rw-r--r--pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix
new file mode 100644
index 0000000000000..7c0f80d223836
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix
@@ -0,0 +1,38 @@
+{ fetchFromGitHub, lib, stdenv, gnome3, cmake, pkg-config,
+  libappindicator-gtk3, gst_all_1, pcre }:
+
+stdenv.mkDerivation rec {
+  pname = "whatsapp-for-linux";
+  version = "1.1.5";
+
+  src = fetchFromGitHub {
+    owner = "eneshecan";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1gzahls4givd2kbjdwx6yb3jv7a3r1krw40qihiz7hkamkrpaiaz";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    pkg-config
+  ];
+
+  buildInputs = [
+    gnome3.gtkmm
+    gnome3.webkitgtk
+    libappindicator-gtk3
+    gst_all_1.gst-plugins-base
+    gst_all_1.gst-plugins-good
+    gst_all_1.gst-plugins-bad
+    gst_all_1.gst-libav
+    pcre
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/eneshecan/whatsapp-for-linux";
+    description = "Whatsapp desktop messaging app";
+    license = licenses.gpl3Only;
+    maintainers = with maintainers; [ bartuka ];
+    platforms = [ "x86_64-linux" ];
+  };
+}