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
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
# Dynamic libraries
|
||||
, alsaLib
|
||||
, atk
|
||||
|
@ -38,7 +37,6 @@ let
|
|||
sha256 = "00ahly3kjjznn73vcxgm5wj2pxgw6wdk6vzgd8svfmnl5kqq6c02";
|
||||
};
|
||||
};
|
||||
dontUnpack = true;
|
||||
|
||||
libs = lib.makeLibraryPath ([
|
||||
# $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found'
|
||||
|
@ -68,8 +66,10 @@ let
|
|||
xorg.libXtst
|
||||
] ++ lib.optional (pulseaudioSupport) libpulseaudio);
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "zoom-${version}";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "zoom";
|
||||
inherit version;
|
||||
src = srcs.${stdenv.hostPlatform.system};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
|
@ -80,7 +80,7 @@ in stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir $out
|
||||
tar -C $out -xf ${srcs.${stdenv.hostPlatform.system}}
|
||||
tar -C $out -xf ${src}
|
||||
mv $out/usr/* $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue