2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, wrapGAppsHook
|
|
|
|
, pkgconfig
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, libvirt-glib
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, libxml2
|
|
|
|
, gtk3
|
2020-11-12 09:05:59 +00:00
|
|
|
, gtksourceview4
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk-vnc
|
|
|
|
, freerdp
|
|
|
|
, libvirt
|
|
|
|
, spice-gtk
|
|
|
|
, python3
|
2020-11-12 09:05:59 +00:00
|
|
|
, appstream-glib
|
2020-04-24 23:36:52 +00:00
|
|
|
, spice-protocol
|
2020-11-12 09:05:59 +00:00
|
|
|
, libhandy_0
|
2020-04-24 23:36:52 +00:00
|
|
|
, libsoup
|
|
|
|
, libosinfo
|
|
|
|
, systemd
|
|
|
|
, tracker
|
|
|
|
, tracker-miners
|
|
|
|
, vala
|
|
|
|
, libcap
|
|
|
|
, yajl
|
|
|
|
, gmp
|
|
|
|
, gdbm
|
|
|
|
, cyrus_sasl
|
|
|
|
, gnome3
|
|
|
|
, librsvg
|
|
|
|
, desktop-file-utils
|
|
|
|
, mtools
|
|
|
|
, cdrkit
|
|
|
|
, libcdio
|
|
|
|
, libusb1
|
|
|
|
, libarchive
|
|
|
|
, acl
|
|
|
|
, libgudev
|
|
|
|
, libsecret
|
|
|
|
, libcap_ng
|
|
|
|
, numactl
|
|
|
|
, xen
|
|
|
|
, libapparmor
|
|
|
|
, json-glib
|
|
|
|
, webkitgtk
|
|
|
|
, vte
|
|
|
|
, glib-networking
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-boxes";
|
2020-12-03 08:41:04 +00:00
|
|
|
version = "3.38.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-20 17:08:02 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-12-03 08:41:04 +00:00
|
|
|
sha256 = "1zjvng0izbws3506998l3dwsxjbm7wnhqipb8nmqzvi096czvajl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
appstream-glib # for appstream-util
|
2020-04-24 23:36:52 +00:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# Required for USB redirection PolicyKit rules file
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
spice-gtk
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
acl
|
|
|
|
cyrus_sasl
|
|
|
|
freerdp
|
|
|
|
gdbm
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gmp
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gtk-vnc
|
|
|
|
gtk3
|
2020-11-12 09:05:59 +00:00
|
|
|
gtksourceview4
|
2020-04-24 23:36:52 +00:00
|
|
|
json-glib
|
|
|
|
libapparmor
|
|
|
|
libarchive
|
|
|
|
libcap
|
|
|
|
libcap_ng
|
|
|
|
libgudev
|
2020-11-12 09:05:59 +00:00
|
|
|
libhandy_0
|
2020-04-24 23:36:52 +00:00
|
|
|
libosinfo
|
|
|
|
librsvg
|
|
|
|
libsecret
|
|
|
|
libsoup
|
|
|
|
libusb1
|
|
|
|
libvirt
|
|
|
|
libvirt-glib
|
|
|
|
libxml2
|
|
|
|
numactl
|
|
|
|
spice-gtk
|
|
|
|
spice-protocol
|
|
|
|
systemd
|
|
|
|
tracker
|
|
|
|
tracker-miners
|
|
|
|
vte
|
|
|
|
webkitgtk
|
|
|
|
xen
|
|
|
|
yajl
|
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio ]}")
|
|
|
|
'';
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs build-aux/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple GNOME 3 application to access remote or virtual systems";
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Boxes";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
}
|