mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
zoom-us 5.6.13632.0328 -> 5.6.16775.0418
This commit is contained in:
parent
78024876a6
commit
50a7cb2cfb
@ -7,6 +7,7 @@
|
||||
, atk
|
||||
, cairo
|
||||
, dbus
|
||||
, dpkg
|
||||
, libGL
|
||||
, fontconfig
|
||||
, freetype
|
||||
@ -29,11 +30,11 @@
|
||||
assert pulseaudioSupport -> libpulseaudio != null;
|
||||
|
||||
let
|
||||
version = "5.6.13632.0328";
|
||||
version = "5.6.16775.0418";
|
||||
srcs = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz";
|
||||
sha256 = "0nskpg3rbv40jcbih95sfdr0kfv5hjv50z9jdz1cddl8v7hbqg71";
|
||||
url = "https://zoom.us/client/${version}/zoom_amd64.deb";
|
||||
sha256 = "1fmzwxq8jv5k1b2kvg1ij9g6cdp1hladd8vm3cxzd8fywdjcndim";
|
||||
};
|
||||
};
|
||||
|
||||
@ -70,17 +71,21 @@ in stdenv.mkDerivation rec {
|
||||
inherit version;
|
||||
src = srcs.${stdenv.hostPlatform.system};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
unpackCmd = ''
|
||||
mkdir out
|
||||
dpkg -x $curSrc out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir $out
|
||||
tar -C $out -xf ${src}
|
||||
mv $out/usr/* $out/
|
||||
mv usr/* $out/
|
||||
mv opt $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user