2020-09-26 09:57:45 -07:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cairo
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, pipewire
|
|
|
|
, systemd
|
|
|
|
, libvncserver
|
|
|
|
, libsecret
|
|
|
|
, libnotify
|
|
|
|
, gdk-pixbuf
|
|
|
|
, freerdp
|
|
|
|
}:
|
2018-09-28 18:34:39 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-02 01:35:32 -08:00
|
|
|
pname = "gnome-remote-desktop";
|
2020-09-26 09:57:45 -07:00
|
|
|
version = "0.1.9";
|
2018-09-28 18:34:39 -07:00
|
|
|
|
2020-09-26 09:57:45 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
hash = "sha256-8iZtp4tBRT7NNRKuzwop3rcMvq16RG/I2sAlEIsJ0M8=";
|
2018-09-28 18:34:39 -07:00
|
|
|
};
|
|
|
|
|
2020-09-26 09:57:45 -07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2018-09-28 18:34:39 -07:00
|
|
|
|
|
|
|
buildInputs = [
|
2020-09-26 09:57:45 -07:00
|
|
|
cairo
|
|
|
|
freerdp
|
2019-05-22 04:03:39 -07:00
|
|
|
gdk-pixbuf # For libnotify
|
2020-09-26 09:57:45 -07:00
|
|
|
glib
|
|
|
|
libnotify
|
|
|
|
libsecret
|
|
|
|
libvncserver
|
|
|
|
pipewire
|
|
|
|
systemd
|
2018-09-28 18:34:39 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dsystemd_user_unit_dir=${placeholder "out"}/lib/systemd/user"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Mutter/RemoteDesktop";
|
2018-09-28 18:34:39 -07:00
|
|
|
description = "GNOME Remote Desktop server";
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2018-09-28 18:34:39 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|