virt-viewer: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-13 22:07:31 +02:00 committed by Valentin Gagarin
parent b0290d872d
commit fe7e5d12c5

View File

@ -32,9 +32,6 @@
, vte
, wrapGAppsHook3
}:
with lib;
stdenv.mkDerivation rec {
pname = "virt-viewer";
version = "11.0";
@ -76,18 +73,18 @@ stdenv.mkDerivation rec {
libvirt-glib
libxml2
vte
] ++ optionals ovirtSupport [
] ++ lib.optionals ovirtSupport [
libgovirt
] ++ optionals spiceSupport ([
] ++ lib.optionals spiceSupport ([
gdbm
spice-gtk
spice-protocol
] ++ optionals stdenv.isLinux [
] ++ lib.optionals stdenv.isLinux [
libcap
]);
# Required for USB redirection PolicyKit rules file
propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
propagatedUserEnvPkgs = lib.optional spiceSupport spice-gtk;
mesonFlags = [
(lib.mesonEnable "ovirt" ovirtSupport)
@ -99,7 +96,7 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/post_install.py
'';
meta = {
meta = with lib; {
description = "Viewer for remote virtual machines";
maintainers = with maintainers; [ raskin atemu ];
platforms = with platforms; linux ++ darwin;