2018-09-29 02:34:39 +01:00
|
|
|
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook
|
2020-04-10 11:12:56 +01:00
|
|
|
, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf }:
|
2018-09-29 02:34:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-02 09:35:32 +00:00
|
|
|
pname = "gnome-remote-desktop";
|
2020-04-08 10:13:39 +01:00
|
|
|
version = "0.1.8";
|
2018-09-29 02:34:39 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "jadahl";
|
|
|
|
repo = "gnome-remote-desktop";
|
|
|
|
rev = version;
|
2020-04-08 10:13:39 +01:00
|
|
|
sha256 = "1wcvk0w4p0wnqnrjkbwvqcby9dd4nj0cm9cz0fqna31qfjrvb913";
|
2018-09-29 02:34:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-04-08 10:13:39 +01:00
|
|
|
glib pipewire systemd libvncserver libsecret libnotify
|
2019-05-22 12:03:39 +01:00
|
|
|
gdk-pixbuf # For libnotify
|
2018-09-29 02:34:39 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Mutter/RemoteDesktop";
|
2018-09-29 02:34:39 +01:00
|
|
|
description = "GNOME Remote Desktop server";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-09-29 02:34:39 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|