mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
virt-viewer: remove 'with lib;'
This commit is contained in:
parent
b0290d872d
commit
fe7e5d12c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user