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