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
|
2016-10-02 11:30:10 -07:00
|
|
|
, freerdp, libssh, libgcrypt, gnutls, makeDesktopItem
|
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
|
2018-06-16 10:09:12 -07:00
|
|
|
, openssl, gsettings-desktop-schemas, json-glib
|
2016-12-25 11:04:47 -08:00
|
|
|
# The themes here are soft dependencies; only icons are missing without them.
|
2018-02-24 18:23:58 -08:00
|
|
|
, hicolor-icon-theme, adwaita-icon-theme
|
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";
|
2019-01-26 23:14:03 -08:00
|
|
|
version = "1.3.0";
|
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}";
|
2019-01-26 23:14:03 -08:00
|
|
|
sha256 = "15b0fnv7xra4fpmn2y4k2rpzcss30sd1dhnx7yvhs2zq12z2m0wi";
|
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
|
|
|
|
openssl hicolor-icon-theme adwaita-icon-theme json-glib
|
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;
|
2014-08-24 07:21:08 -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
|
|
|
};
|
|
|
|
}
|