nixpkgs/pkgs/desktops/gnome-3/core/vino/default.nix

99 lines
1.7 KiB
Nix
Raw Normal View History

2019-08-27 05:33:42 +01:00
{ stdenv
, fetchFromGitLab
, wrapGAppsHook
, pkgconfig
, gnome3
, gtk3
, glib
, intltool
, libXtst
, libnotify
, libsoup
, libsecret
, gnutls
, libgcrypt
, avahi
, zlib
, libjpeg
, libXdamage
, libXfixes
, libXext
, networkmanager
, gnome-common
, libtool
, automake
, autoconf
, telepathySupport ? false
, dbus-glib ? null
, telepathy-glib ? null
}:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-08-27 05:33:42 +01:00
pname = "vino";
version = "unstable-2019-07-08";
2019-08-27 05:33:42 +01:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "vino";
rev = "aed81a798558c8127b765cd4fb4dc726d10f1e21";
sha256 = "16r4cj5nsygmd9v97nq6d1yhynzak9hdnaprcdbmwfhh0c9w8jv3";
};
doCheck = true;
2019-08-27 05:33:42 +01:00
nativeBuildInputs = [
autoconf
automake
gnome-common
intltool
libtool
pkgconfig
wrapGAppsHook
];
2018-03-20 19:47:49 +00:00
buildInputs = [
2019-08-27 05:33:42 +01:00
avahi
glib
gnome3.adwaita-icon-theme
gnutls
gtk3
libXdamage
libXext
libXfixes
libXtst
libgcrypt
libjpeg
libnotify
libsecret
libsoup
networkmanager
zlib
]
++ stdenv.lib.optionals telepathySupport [ dbus-glib telepathy-glib ]
;
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
postInstall = stdenv.lib.optionalString (!telepathySupport) ''
rm -f $out/share/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service
'';
2018-03-20 19:47:49 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "vino";
attrPath = "gnome3.vino";
};
};
meta = with stdenv.lib; {
2018-03-20 19:47:49 +00:00
homepage = https://wiki.gnome.org/Projects/Vino;
description = "GNOME desktop sharing server";
2019-08-27 05:33:42 +01:00
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}