forked from mirrors/nixpkgs
6c7a6bf895
Co-authored-by: doronbehar <doron.behar@gmail.com>
61 lines
947 B
Nix
61 lines
947 B
Nix
{ version
|
|
, src
|
|
, jami-meta
|
|
, stdenv
|
|
, lib
|
|
, pkg-config
|
|
, cmake
|
|
, wrapQtAppsHook
|
|
, wrapGAppsHook
|
|
, gtk3-x11
|
|
, networkmanager # for libnm
|
|
, libayatana-appindicator
|
|
, libnotify
|
|
, clutter-gtk
|
|
, libcanberra-gtk3
|
|
, webkitgtk
|
|
, qrencode
|
|
, jami-libclient
|
|
, qttools
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "jami-client-gnome";
|
|
inherit version src;
|
|
|
|
sourceRoot = "source/client-gnome";
|
|
|
|
preConfigure = ''
|
|
echo ${version} > version.txt
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
cmake
|
|
wrapGAppsHook
|
|
wrapQtAppsHook
|
|
];
|
|
# To spare double wrapping
|
|
dontWrapGApps = true;
|
|
preFixup = ''
|
|
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
buildInputs = [
|
|
qttools
|
|
jami-libclient
|
|
gtk3-x11
|
|
networkmanager
|
|
libayatana-appindicator
|
|
libnotify
|
|
clutter-gtk
|
|
libcanberra-gtk3
|
|
webkitgtk
|
|
qrencode
|
|
];
|
|
|
|
meta = jami-meta // {
|
|
description = "The client based on GTK" + jami-meta.description;
|
|
};
|
|
}
|