Merge pull request #132785 from SuperSandro2000/zoom

zoom-us: format, cleanup
This commit is contained in:
Sandro 2021-08-05 16:08:34 +02:00 committed by GitHub
commit 71449bc9c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}