2018-10-27 14:42:03 +02:00
|
|
|
{ stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook
|
2018-10-19 21:14:25 +02:00
|
|
|
, glib, gtk3, gettext, libxkbfile, libX11
|
2019-06-16 21:59:06 +02:00
|
|
|
, freerdp, libssh, libgcrypt, gnutls
|
2018-10-19 21:12:36 +02:00
|
|
|
, pcre, libdbusmenu-gtk3, libappindicator-gtk3
|
2016-10-02 20:30:10 +02:00
|
|
|
, libvncserver, libpthreadstubs, libXdmcp, libxkbcommon
|
2018-10-19 21:12:36 +02:00
|
|
|
, libsecret, libsoup, spice-protocol, spice-gtk, epoxy, at-spi2-core
|
2018-06-16 19:09:12 +02:00
|
|
|
, openssl, gsettings-desktop-schemas, json-glib
|
2016-12-25 20:04:47 +01:00
|
|
|
# The themes here are soft dependencies; only icons are missing without them.
|
2019-02-13 22:47:50 +01:00
|
|
|
, hicolor-icon-theme, gnome3
|
2016-12-25 20:04:47 +01:00
|
|
|
}:
|
2013-11-05 12:47:30 +01:00
|
|
|
|
2018-10-19 21:14:25 +02:00
|
|
|
with stdenv.lib;
|
|
|
|
|
2018-11-05 00:09:22 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-11-05 19:05:09 +01:00
|
|
|
pname = "remmina";
|
2019-04-03 01:47:51 +02:00
|
|
|
version = "1.3.4";
|
2012-07-02 16:30:13 +02:00
|
|
|
|
2018-06-16 19:09:12 +02:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "Remmina";
|
2016-10-02 20:30:10 +02:00
|
|
|
repo = "Remmina";
|
|
|
|
rev = "v${version}";
|
2019-04-03 01:47:51 +02:00
|
|
|
sha256 = "18p6v2lalpiba0r318grlc2bvqh2qlpjw811i0934g33faviyfj1";
|
2012-07-02 16:30:13 +02:00
|
|
|
};
|
|
|
|
|
2018-10-27 14:42:03 +02:00
|
|
|
nativeBuildInputs = [ cmake ninja pkgconfig wrapGAppsHook ];
|
2018-10-19 21:14:31 +02:00
|
|
|
buildInputs = [
|
2018-10-27 14:42:03 +02:00
|
|
|
gsettings-desktop-schemas
|
2018-10-19 21:14:31 +02: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-02-13 22:47:50 +01:00
|
|
|
openssl hicolor-icon-theme gnome3.adwaita-icon-theme json-glib
|
2018-10-27 14:42:03 +02:00
|
|
|
];
|
2012-07-02 16:30:13 +02:00
|
|
|
|
2017-02-05 07:05:31 +01: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 10:00:33 +01:00
|
|
|
|
2016-10-21 11:39:43 +02:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix LD_LIBRARY_PATH : "${libX11.out}/lib"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2018-10-19 21:14:25 +02:00
|
|
|
meta = {
|
2018-10-27 14:42:03 +02:00
|
|
|
license = licenses.gpl2;
|
2018-06-16 19:09:12 +02:00
|
|
|
homepage = https://gitlab.com/Remmina/Remmina;
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "Remote desktop client written in GTK";
|
2018-06-16 19:09:12 +02:00
|
|
|
maintainers = with maintainers; [ melsigl ryantm ];
|
2013-11-10 18:25:12 +01:00
|
|
|
platforms = platforms.linux;
|
2012-07-02 16:30:13 +02:00
|
|
|
};
|
|
|
|
}
|