2021-07-27 12:42:31 +00:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
2021-11-12 21:46:04 +00:00
|
|
|
, glib-networking
|
2021-07-27 12:42:31 +00:00
|
|
|
, gst_all_1
|
2021-11-12 21:46:04 +00:00
|
|
|
, gtkmm3
|
2023-03-03 08:46:23 +00:00
|
|
|
, libayatana-appindicator
|
|
|
|
, libcanberra
|
|
|
|
, libepoxy
|
|
|
|
, libpsl
|
|
|
|
, libdatrie
|
|
|
|
, libdeflate
|
|
|
|
, libselinux
|
|
|
|
, libsepol
|
|
|
|
, libsysprof-capture
|
|
|
|
, libthai
|
|
|
|
, libxkbcommon
|
|
|
|
, sqlite
|
2021-07-27 12:42:31 +00:00
|
|
|
, pcre
|
2023-03-03 08:46:23 +00:00
|
|
|
, pcre2
|
2021-11-12 21:46:04 +00:00
|
|
|
, pkg-config
|
2024-10-05 01:00:54 +00:00
|
|
|
, webkitgtk_4_0
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2023-03-03 08:46:23 +00:00
|
|
|
, xorg
|
2021-07-27 12:42:31 +00:00
|
|
|
}:
|
2021-03-28 22:21:33 +00:00
|
|
|
|
2024-04-27 11:56:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-03-28 22:21:33 +00:00
|
|
|
pname = "whatsapp-for-linux";
|
2024-11-30 23:04:39 +00:00
|
|
|
version = "1.7.0";
|
2021-03-28 22:21:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eneshecan";
|
2024-04-27 11:56:00 +00:00
|
|
|
repo = "whatsapp-for-linux";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-11-30 23:04:39 +00:00
|
|
|
hash = "sha256-h07Qf34unwtyc1VDtCCkukgBDJIvYNgESwAylbsjVsQ=";
|
2021-03-28 22:21:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2021-03-28 22:21:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-11-12 21:46:04 +00:00
|
|
|
glib-networking
|
|
|
|
gst_all_1.gst-libav
|
|
|
|
gst_all_1.gst-plugins-bad
|
2021-03-28 22:21:33 +00:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2021-11-12 21:46:04 +00:00
|
|
|
gtkmm3
|
2023-03-03 08:46:23 +00:00
|
|
|
libayatana-appindicator
|
|
|
|
libcanberra
|
|
|
|
libdatrie
|
|
|
|
libdeflate
|
|
|
|
libepoxy
|
|
|
|
libpsl
|
|
|
|
libselinux
|
|
|
|
libsepol
|
|
|
|
libsysprof-capture
|
|
|
|
libthai
|
|
|
|
libxkbcommon
|
2021-03-28 22:21:33 +00:00
|
|
|
pcre
|
2023-03-03 08:46:23 +00:00
|
|
|
pcre2
|
|
|
|
sqlite
|
2024-10-05 01:00:54 +00:00
|
|
|
webkitgtk_4_0
|
2023-03-03 08:46:23 +00:00
|
|
|
xorg.libXdmcp
|
|
|
|
xorg.libXtst
|
2021-03-28 22:21:33 +00:00
|
|
|
];
|
|
|
|
|
2024-04-27 11:56:00 +00:00
|
|
|
meta = {
|
2021-03-28 22:21:33 +00:00
|
|
|
homepage = "https://github.com/eneshecan/whatsapp-for-linux";
|
|
|
|
description = "Whatsapp desktop messaging app";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "whatsapp-for-linux";
|
2024-04-27 11:56:00 +00:00
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ bartuka ];
|
2024-09-09 10:03:10 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
2021-03-28 22:21:33 +00:00
|
|
|
};
|
2024-04-27 11:56:00 +00:00
|
|
|
})
|