31 stdenv.mkDerivation rec {
32 pname = "gnome-remote-desktop";
36 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
37 hash = "sha256-CMZlbxHUY560lyqJKej1AkJ9weLqAz4CyZK7Gkx315Q=";
55 gdk-pixbuf # For libnotify
67 polkit # For polkit-gobject
71 "-Dconf_dir=/etc/gnome-remote-desktop"
72 "-Dsystemd_user_unit_dir=${placeholder "out"}/lib/systemd/user"
73 "-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
74 "-Dsystemd_sysusers_dir=${placeholder "out"}/lib/sysusers.d"
75 "-Dsystemd_tmpfiles_dir=${placeholder "out"}/lib/tmpfiles.d"
76 "-Dtests=false" # Too deep of a rabbit hole.
77 # TODO: investigate who should be fixed here.
78 "-Dc_args=-I${freerdp3}/include/winpr3"
82 updateScript = gnome.updateScript {
84 attrPath = "gnome.${pname}";
89 homepage = "https://gitlab.gnome.org/GNOME/gnome-remote-desktop";
90 description = "GNOME Remote Desktop server";
91 mainProgram = "grdctl";
92 maintainers = teams.gnome.members;
93 license = licenses.gpl2Plus;
94 platforms = platforms.linux;