zoom-us: set src pname and version for update script
Cleanup unused arguments.
This commit is contained in:
parent
61e6aeb6b2
commit
d0853a745c
|
@ -2,7 +2,6 @@
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, fetchFromGitHub
|
|
||||||
# Dynamic libraries
|
# Dynamic libraries
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, atk
|
, atk
|
||||||
|
@ -38,7 +37,6 @@ let
|
||||||
sha256 = "00ahly3kjjznn73vcxgm5wj2pxgw6wdk6vzgd8svfmnl5kqq6c02";
|
sha256 = "00ahly3kjjznn73vcxgm5wj2pxgw6wdk6vzgd8svfmnl5kqq6c02";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
dontUnpack = true;
|
|
||||||
|
|
||||||
libs = lib.makeLibraryPath ([
|
libs = lib.makeLibraryPath ([
|
||||||
# $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found'
|
# $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found'
|
||||||
|
@ -68,8 +66,10 @@ let
|
||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
] ++ lib.optional (pulseaudioSupport) libpulseaudio);
|
] ++ lib.optional (pulseaudioSupport) libpulseaudio);
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation rec {
|
||||||
name = "zoom-${version}";
|
pname = "zoom";
|
||||||
|
inherit version;
|
||||||
|
src = srcs.${stdenv.hostPlatform.system};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ in stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir $out
|
mkdir $out
|
||||||
tar -C $out -xf ${srcs.${stdenv.hostPlatform.system}}
|
tar -C $out -xf ${src}
|
||||||
mv $out/usr/* $out/
|
mv $out/usr/* $out/
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue