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