1 { mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config
2 , qtbase, qtmultimedia, qtsvg, qttools, krdc
3 , libvncserver, libvirt, pcre, pixman, qtermwidget, spice-gtk, spice-protocol
4 , libselinux, libsepol, util-linux
8 pname = "virt-manager-qt";
11 src = fetchFromGitHub {
13 repo = "qt-virt-manager";
15 sha256 = "0b2bx7ah35glcsiv186sc9cqdrkhg1vs9jz036k9byk61np0cb1i";
19 "-DBUILD_QT_VERSION=5"
20 "-DQTERMWIDGET_INCLUDE_DIRS=${qtermwidget}/include/qtermwidget5"
25 # drop with next update
26 url = "https://github.com/F1ash/qt-virt-manager/commit/0d338b037ef58c376d468c1cd4521a34ea181edd.patch";
27 sha256 = "1wjqyc5wsnxfwwjzgqjr9hcqhd867amwhjd712qyvpvz8x7p2s24";
32 qtbase qtmultimedia qtsvg krdc
33 libvirt libvncserver pcre pixman qtermwidget spice-gtk spice-protocol
34 libselinux libsepol util-linux
37 nativeBuildInputs = [ cmake pkg-config qttools ];
40 homepage = "https://f1ash.github.io/qt-virt-manager";
41 description = "Desktop user interface for managing virtual machines (QT)";
43 The virt-manager application is a desktop user interface for managing
44 virtual machines through libvirt. It primarily targets KVM VMs, but also
45 manages Xen and LXC (linux containers).
47 license = licenses.gpl2;
48 maintainers = with maintainers; [ peterhoeg ];
49 inherit (qtbase.meta) platforms;