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