Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pkgs/by-name/te/teams-for-linux/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
fetchFromGitHub,
alsa-utils,
copyDesktopItems,
electron_32,
electron_33,
makeDesktopItem,
makeWrapper,
nix-update-script,
Expand All @@ -15,16 +15,16 @@

buildNpmPackage rec {
pname = "teams-for-linux";
version = "1.11.2";
version = "1.12.7";

src = fetchFromGitHub {
owner = "IsmaelMartinez";
repo = "teams-for-linux";
tag = "v${version}";
hash = "sha256-fSZ94Px0NuxUZqc9cHE6czG/VzNsWp+UXllq7kEQvtI=";
hash = "sha256-26YNDXZUMQA3AuRPTxB+X8hg2IEYvAGBHvzIAxSL3nk=";
};

npmDepsHash = "sha256-MfPdOqxiMDsvxsS3yWukRokDitqWQpTpK407xVX461o=";
npmDepsHash = "sha256-Vu7VAV8hoQKqa8d2hMaNlBB4e8HA0h4ySc1qsYn8M6o=";

nativeBuildInputs = [
makeWrapper
Expand All @@ -42,15 +42,15 @@ buildNpmPackage rec {
buildPhase = ''
runHook preBuild

cp -r ${electron_32.dist} electron-dist
cp -r ${electron_33.dist} electron-dist
chmod -R u+w electron-dist

npm exec electron-builder -- \
--dir \
-c.npmRebuild=true \
-c.asarUnpack="**/*.node" \
-c.electronDist=electron-dist \
-c.electronVersion=${electron_32.version}
-c.electronVersion=${electron_33.version}

runHook postBuild
'';
Expand All @@ -72,7 +72,7 @@ buildNpmPackage rec {
popd

# Linux needs 'aplay' for notification sounds
makeWrapper '${lib.getExe electron_32}' "$out/bin/teams-for-linux" \
makeWrapper '${lib.getExe electron_33}' "$out/bin/teams-for-linux" \
--prefix PATH : ${
lib.makeBinPath [
alsa-utils
Expand Down