3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix
Thiago Kenji Okada b318373cf0 whatsapp-for-linux: 1.2.1 -> 1.3.0, fix it
Was missing glib-networking dependency.
2021-11-12 18:46:04 -03:00

52 lines
959 B
Nix

{ fetchFromGitHub
, lib
, stdenv
, cmake
, glib-networking
, gst_all_1
, gtkmm3
, libappindicator-gtk3
, pcre
, pkg-config
, webkitgtk
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "whatsapp-for-linux";
version = "1.3.0";
src = fetchFromGitHub {
owner = "eneshecan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VdkCjzmZqP/ZVY1H9FxBGe5rN0nZEPZbMp3MVKL6WLc=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook
];
buildInputs = [
glib-networking
gst_all_1.gst-libav
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gtkmm3
libappindicator-gtk3
pcre
webkitgtk
];
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" ];
};
}