2019-11-05 18:48:06 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, wrapGAppsHook
|
|
|
|
, pkgconfig
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, libvirt-glib
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, libxml2
|
|
|
|
, gtk3
|
|
|
|
, gtk-vnc
|
|
|
|
, freerdp
|
|
|
|
, libvirt
|
|
|
|
, spice-gtk
|
|
|
|
, python3
|
|
|
|
, spice-protocol
|
|
|
|
, libsoup
|
|
|
|
, libosinfo
|
|
|
|
, systemd
|
|
|
|
, tracker
|
|
|
|
, tracker-miners
|
|
|
|
, vala
|
|
|
|
, libcap
|
|
|
|
, yajl
|
|
|
|
, gmp
|
|
|
|
, gdbm
|
|
|
|
, cyrus_sasl
|
|
|
|
, gnome3
|
|
|
|
, librsvg
|
|
|
|
, desktop-file-utils
|
|
|
|
, mtools
|
|
|
|
, cdrkit
|
|
|
|
, libcdio
|
|
|
|
, libusb
|
|
|
|
, libarchive
|
|
|
|
, acl
|
|
|
|
, libgudev
|
|
|
|
, libsecret
|
|
|
|
, libcap_ng
|
|
|
|
, numactl
|
|
|
|
, xen
|
|
|
|
, libapparmor
|
|
|
|
, json-glib
|
|
|
|
, webkitgtk
|
|
|
|
, vte
|
|
|
|
, glib-networking
|
2016-09-18 20:35:23 +01:00
|
|
|
}:
|
|
|
|
|
2019-11-05 18:48:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "gnome-boxes";
|
2020-02-09 00:32:00 +00:00
|
|
|
version = "3.36.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-09 00:32:00 +00:00
|
|
|
sha256 = "0saxz2mwp7y348izzgp7mmp6vnv5zi57x5rbsyag8s7pd7yp211n";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-03-28 18:13:39 +01:00
|
|
|
nativeBuildInputs = [
|
2019-11-05 18:48:06 +00:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2017-03-28 18:13:39 +01:00
|
|
|
];
|
|
|
|
|
2018-04-19 19:40:10 +01:00
|
|
|
# Required for USB redirection PolicyKit rules file
|
2019-11-05 18:48:06 +00:00
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
spice-gtk
|
|
|
|
];
|
2018-04-19 19:40:10 +01:00
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2019-11-05 18:48:06 +00:00
|
|
|
acl
|
|
|
|
cyrus_sasl
|
|
|
|
freerdp
|
|
|
|
gdbm
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gmp
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gtk-vnc
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libapparmor
|
|
|
|
libarchive
|
|
|
|
libcap
|
|
|
|
libcap_ng
|
|
|
|
libgudev
|
|
|
|
libosinfo
|
|
|
|
librsvg
|
|
|
|
libsecret
|
|
|
|
libsoup
|
|
|
|
libusb
|
|
|
|
libvirt
|
|
|
|
libvirt-glib
|
|
|
|
libxml2
|
|
|
|
numactl
|
|
|
|
spice-gtk
|
|
|
|
spice-protocol
|
|
|
|
systemd
|
|
|
|
tracker
|
|
|
|
tracker-miners
|
|
|
|
vte
|
|
|
|
webkitgtk
|
|
|
|
xen
|
|
|
|
yajl
|
2016-09-18 20:35:23 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
2019-07-14 13:32:02 +01:00
|
|
|
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio ]}")
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
2018-03-15 18:21:51 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs build-aux/post_install.py
|
|
|
|
'';
|
|
|
|
|
2018-03-14 00:39:46 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
2019-11-05 18:48:06 +00:00
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
2018-03-14 00:39:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple GNOME 3 application to access remote or virtual systems";
|
2018-09-05 01:45:21 +01:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Boxes;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2019-09-17 22:38:15 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|