2018-09-29 03:34:39 +02:00
|
|
|
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook
|
|
|
|
, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk_pixbuf, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-02 10:35:32 +01:00
|
|
|
pname = "gnome-remote-desktop";
|
|
|
|
version = "0.1.7";
|
2018-09-29 03:34:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "jadahl";
|
|
|
|
repo = "gnome-remote-desktop";
|
|
|
|
rev = version;
|
2019-03-02 10:35:32 +01:00
|
|
|
sha256 = "0gmazc8ww0lyhx9iclhi982bkpjsnflrzv4qfm3q6hcy0il21fsc";
|
2018-09-29 03:34:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib pipewire systemd libvncserver libsecret libnotify
|
|
|
|
gdk_pixbuf # For libnotify
|
|
|
|
];
|
|
|
|
|
|
|
|
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; {
|
|
|
|
homepage = https://wiki.gnome.org/Projects/Mutter/RemoteDesktop;
|
|
|
|
description = "GNOME Remote Desktop server";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|