2020-09-26 16:57:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cairo
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, pipewire
|
|
|
|
, systemd
|
|
|
|
, libvncserver
|
|
|
|
, libsecret
|
|
|
|
, libnotify
|
|
|
|
, gdk-pixbuf
|
|
|
|
, freerdp
|
|
|
|
}:
|
2018-09-29 01:34:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-02 09:35:32 +00:00
|
|
|
pname = "gnome-remote-desktop";
|
2020-09-26 16:57:45 +00:00
|
|
|
version = "0.1.9";
|
2018-09-29 01:34:39 +00:00
|
|
|
|
2020-09-26 16:57:45 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
hash = "sha256-8iZtp4tBRT7NNRKuzwop3rcMvq16RG/I2sAlEIsJ0M8=";
|
2018-09-29 01:34:39 +00:00
|
|
|
};
|
|
|
|
|
2020-09-26 16:57:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2018-09-29 01:34:39 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2020-09-26 16:57:45 +00:00
|
|
|
cairo
|
|
|
|
freerdp
|
2019-05-22 11:03:39 +00:00
|
|
|
gdk-pixbuf # For libnotify
|
2020-09-26 16:57:45 +00:00
|
|
|
glib
|
|
|
|
libnotify
|
|
|
|
libsecret
|
|
|
|
libvncserver
|
|
|
|
pipewire
|
|
|
|
systemd
|
2018-09-29 01:34:39 +00: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-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Mutter/RemoteDesktop";
|
2018-09-29 01:34:39 +00:00
|
|
|
description = "GNOME Remote Desktop server";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2018-09-29 01:34:39 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|