2021-05-07 22:18:14 +01:00
|
|
|
{ fetchFromGitHub, lib, stdenv, gnome, cmake, pkg-config,
|
2021-03-28 23:21:33 +01:00
|
|
|
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 = [
|
2021-05-07 22:18:14 +01:00
|
|
|
gnome.gtkmm
|
|
|
|
gnome.webkitgtk
|
2021-03-28 23:21:33 +01:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
}
|