zoom-us: format, cleanup

This commit is contained in:
Sandro Jäckel
2021-08-05 15:33:44 +02:00
parent 00ee57021d
commit 5f979164a7
@@ -2,7 +2,7 @@
, lib
, fetchurl
, makeWrapper
# Dynamic libraries
# Dynamic libraries
, alsa-lib
, atk
, cairo
@@ -18,16 +18,15 @@
, xorg
, libxkbcommon
, zlib
# Runtime
# Runtime
, coreutils
, pciutils
, procps
, util-linux
, pulseaudioSupport ? true, libpulseaudio ? null
, pulseaudioSupport ? true
, libpulseaudio
}:
assert pulseaudioSupport -> libpulseaudio != null;
let
version = "5.7.28991.0726";
srcs = {
@@ -65,9 +64,11 @@ let
xorg.libXtst
] ++ lib.optional (pulseaudioSupport) libpulseaudio);
in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
pname = "zoom";
inherit version;
src = srcs.${stdenv.hostPlatform.system};
dontUnpack = true;
@@ -118,11 +119,11 @@ in stdenv.mkDerivation rec {
passthru.updateScript = ./update.sh;
meta = {
meta = with lib; {
homepage = "https://zoom.us/";
description = "zoom.us video conferencing application";
license = lib.licenses.unfree;
license = licenses.unfree;
platforms = builtins.attrNames srcs;
maintainers = with lib.maintainers; [ danbst tadfisher doronbehar ];
maintainers = with maintainers; [ danbst tadfisher doronbehar ];
};
}