mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
gnome3.gnome-remote-desktop: init at 0.1.6
This commit is contained in:
parent
181a9865fc
commit
d359635ab4
@ -246,6 +246,7 @@
|
||||
./services/desktops/gnome3/gnome-documents.nix
|
||||
./services/desktops/gnome3/gnome-keyring.nix
|
||||
./services/desktops/gnome3/gnome-online-accounts.nix
|
||||
./services/desktops/gnome3/gnome-remote-desktop.nix
|
||||
./services/desktops/gnome3/gnome-online-miners.nix
|
||||
./services/desktops/gnome3/gnome-terminal-server.nix
|
||||
./services/desktops/gnome3/gnome-user-share.nix
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Remote desktop daemon using Pipewire.
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
###### interface
|
||||
options = {
|
||||
services.gnome3.gnome-remote-desktop = {
|
||||
enable = mkEnableOption "Remote Desktop support using Pipewire";
|
||||
};
|
||||
};
|
||||
|
||||
###### implementation
|
||||
config = mkIf config.services.gnome3.gnome-remote-desktop.enable {
|
||||
systemd.packages = [ pkgs.gnome3.gnome-remote-desktop ];
|
||||
};
|
||||
}
|
41
pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
Normal file
41
pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook
|
||||
, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk_pixbuf, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-remote-desktop-${version}";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "jadahl";
|
||||
repo = "gnome-remote-desktop";
|
||||
rev = version;
|
||||
sha256 = "1d49kxhi1bn8ssh6nybg7d6zajqwc653czbsms2d59dbhj8mn75f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ];
|
||||
|
||||
buildInputs = [
|
||||
glib pipewire systemd libvncserver libsecret libnotify
|
||||
gdk_pixbuf # For libnotify
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson.build --replace pipewire-0.1 pipewire-0.2
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -121,6 +121,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
|
||||
gnome-online-miners = callPackage ./core/gnome-online-miners { };
|
||||
|
||||
gnome-remote-desktop = callPackage ./core/gnome-remote-desktop { };
|
||||
|
||||
gnome-session = callPackage ./core/gnome-session { };
|
||||
|
||||
gnome-shell = callPackage ./core/gnome-shell { };
|
||||
|
Loading…
Reference in New Issue
Block a user