2021-07-27 14:42:31 +02:00
|
|
|
{ fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
2021-11-12 22:46:04 +01:00
|
|
|
, glib-networking
|
2021-07-27 14:42:31 +02:00
|
|
|
, gst_all_1
|
2021-11-12 22:46:04 +01:00
|
|
|
, gtkmm3
|
|
|
|
, libappindicator-gtk3
|
2021-07-27 14:42:31 +02:00
|
|
|
, pcre
|
2021-11-12 22:46:04 +01:00
|
|
|
, pkg-config
|
|
|
|
, webkitgtk
|
2021-09-23 15:19:41 +02:00
|
|
|
, wrapGAppsHook
|
2021-07-27 14:42:31 +02:00
|
|
|
}:
|
2021-03-29 00:21:33 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "whatsapp-for-linux";
|
2021-12-06 05:40:49 +01:00
|
|
|
version = "1.3.1";
|
2021-03-29 00:21:33 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eneshecan";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-06 05:40:49 +01:00
|
|
|
sha256 = "sha256-TX6fMuhe6VHbhWJSsPM0iOV4CuCfULD5McJyHuTW4lI=";
|
2021-03-29 00:21:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
2021-09-23 15:19:41 +02:00
|
|
|
wrapGAppsHook
|
2021-03-29 00:21:33 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-11-12 22:46:04 +01:00
|
|
|
glib-networking
|
|
|
|
gst_all_1.gst-libav
|
|
|
|
gst_all_1.gst-plugins-bad
|
2021-03-29 00:21:33 +02:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2021-11-12 22:46:04 +01:00
|
|
|
gtkmm3
|
|
|
|
libappindicator-gtk3
|
2021-03-29 00:21:33 +02:00
|
|
|
pcre
|
2021-11-12 22:46:04 +01:00
|
|
|
webkitgtk
|
2021-03-29 00:21:33 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|