2018-10-27 05:42:03 -07:00
|
|
|
{ stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook
|
2018-10-19 12:14:25 -07:00
|
|
|
, glib, gtk3, gettext, libxkbfile, libX11
|
2019-06-16 12:59:06 -07:00
|
|
|
, freerdp, libssh, libgcrypt, gnutls
|
2018-10-19 12:12:36 -07:00
|
|
|
, pcre, libdbusmenu-gtk3, libappindicator-gtk3
|
2016-10-02 11:30:10 -07:00
|
|
|
, libvncserver, libpthreadstubs, libXdmcp, libxkbcommon
|
2018-10-19 12:12:36 -07:00
|
|
|
, libsecret, libsoup, spice-protocol, spice-gtk, epoxy, at-spi2-core
|
2019-12-16 22:24:24 -08:00
|
|
|
, openssl, gsettings-desktop-schemas, json-glib, libsodium, webkitgtk, harfbuzz
|
2016-12-25 11:04:47 -08:00
|
|
|
# The themes here are soft dependencies; only icons are missing without them.
|
2019-09-12 07:25:05 -07:00
|
|
|
, gnome3
|
2016-12-25 11:04:47 -08:00
|
|
|
}:
|
2013-11-05 03:47:30 -08:00
|
|
|
|
2018-10-19 12:14:25 -07:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2018-11-04 15:09:22 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2018-11-05 10:05:09 -08:00
|
|
|
pname = "remmina";
|
2020-01-07 08:33:30 -08:00
|
|
|
version = "1.3.9";
|
2012-07-02 07:30:13 -07:00
|
|
|
|
2018-06-16 10:09:12 -07:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "Remmina";
|
2016-10-02 11:30:10 -07:00
|
|
|
repo = "Remmina";
|
|
|
|
rev = "v${version}";
|
2020-01-07 08:33:30 -08:00
|
|
|
sha256 = "1nkfxiajan43cf6yjn3blkv1pi5v7wkvh33gj84q4afvdbxvbcg4";
|
2012-07-02 07:30:13 -07:00
|
|
|
};
|
|
|
|
|
2018-10-27 05:42:03 -07:00
|
|
|
nativeBuildInputs = [ cmake ninja pkgconfig wrapGAppsHook ];
|
2018-10-19 12:14:31 -07:00
|
|
|
buildInputs = [
|
2018-10-27 05:42:03 -07:00
|
|
|
gsettings-desktop-schemas
|
2018-10-19 12:14:31 -07:00
|
|
|
glib gtk3 gettext libxkbfile libX11
|
|
|
|
freerdp libssh libgcrypt gnutls
|
|
|
|
pcre libdbusmenu-gtk3 libappindicator-gtk3
|
|
|
|
libvncserver libpthreadstubs libXdmcp libxkbcommon
|
|
|
|
libsecret libsoup spice-protocol spice-gtk epoxy at-spi2-core
|
2019-12-16 22:24:24 -08:00
|
|
|
openssl gnome3.adwaita-icon-theme json-glib libsodium webkitgtk
|
|
|
|
harfbuzz
|
2018-10-27 05:42:03 -07:00
|
|
|
];
|
2012-07-02 07:30:13 -07:00
|
|
|
|
2017-02-04 22:05:31 -08:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DWITH_VTE=OFF"
|
|
|
|
"-DWITH_TELEPATHY=OFF"
|
|
|
|
"-DWITH_AVAHI=OFF"
|
|
|
|
"-DFREERDP_LIBRARY=${freerdp}/lib/libfreerdp2.so"
|
|
|
|
"-DFREERDP_CLIENT_LIBRARY=${freerdp}/lib/libfreerdp-client2.so"
|
|
|
|
"-DFREERDP_WINPR_LIBRARY=${freerdp}/lib/libwinpr2.so"
|
|
|
|
"-DWINPR_INCLUDE_DIR=${freerdp}/include/winpr2"
|
|
|
|
];
|
2013-11-05 01:00:33 -08:00
|
|
|
|
2016-10-21 02:39:43 -07:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix LD_LIBRARY_PATH : "${libX11.out}/lib"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2018-10-19 12:14:25 -07:00
|
|
|
meta = {
|
2018-10-27 05:42:03 -07:00
|
|
|
license = licenses.gpl2;
|
2018-06-16 10:09:12 -07:00
|
|
|
homepage = https://gitlab.com/Remmina/Remmina;
|
2019-09-03 15:49:40 -07:00
|
|
|
description = "Remote desktop client written in GTK";
|
2018-06-16 10:09:12 -07:00
|
|
|
maintainers = with maintainers; [ melsigl ryantm ];
|
2013-11-10 09:25:12 -08:00
|
|
|
platforms = platforms.linux;
|
2012-07-02 07:30:13 -07:00
|
|
|
};
|
|
|
|
}
|