vesktop: 0.3.3 -> 0.4.1

Diff: https://github.com/Vencord/Vesktop/compare/v0.3.3...v0.4.1
This commit is contained in:
seth 2023-10-21 20:56:37 -04:00
parent fce7a4ccca
commit 9d65f633bf
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, stdenvNoCC
, gcc13Stdenv
, fetchFromGitHub
, substituteAll
, makeWrapper
@ -9,6 +10,7 @@
, vencord
, electron
, pipewire
, libpulseaudio
, libicns
, jq
, moreutils
@ -16,13 +18,13 @@
}:
stdenv.mkDerivation rec {
pname = "vesktop";
version = "0.3.3";
version = "0.4.1";
src = fetchFromGitHub {
owner = "Vencord";
repo = "Vesktop";
rev = "v${version}";
sha256 = "sha256-Njs3tACxUyRolYUtS/q2lITIQnUBFXVXWZEfQ66HpPM=";
sha256 = "sha256-jSGad3qMhAdiGdwomQO6BIyHIbKrGLRGniGrJN97gN8=";
};
pnpm-deps = stdenvNoCC.mkDerivation {
@ -51,7 +53,7 @@ stdenv.mkDerivation rec {
dontFixup = true;
outputHashMode = "recursive";
outputHash = "sha256-vInaSLGahRUgvwAeUcI+oV84L+tgNRCmfFpE0aUD4X4=";
outputHash = "sha256-lTeL+8QujWzx4ys2T+G55NUP51c8i5lB1vAkUtzkJlA=";
};
nativeBuildInputs = [
@ -92,7 +94,12 @@ stdenv.mkDerivation rec {
# yes, upstream really packages it as "vesktop" but uses "vencorddesktop" file names
installPhase =
let
libPath = lib.makeLibraryPath [ pipewire ];
# this is mainly required for venmic
libPath = lib.makeLibraryPath [
libpulseaudio
pipewire
gcc13Stdenv.cc.cc.lib
];
in
''
runHook preInstall