This commit is contained in:
zoey 2026-01-13 15:39:16 -05:00
parent 6198cf14d4
commit 1506941c66
Signed by: zoey
GPG key ID: 81FB9FECDD6A33E2
49 changed files with 1963 additions and 1822 deletions

View file

@ -0,0 +1,47 @@
{
fetchurl,
stdenv,
autoPatchelfHook,
xorg,
libGL,
libgcc,
systemdLibs,
libz,
glibc,
fontconfig,
e2fsprogs,
}:
stdenv.mkDerivation {
src = fetchurl {
url = "https://cdn.discordapp.com/attachments/1306271439493533776/1414196667304902707/music-presence-2.3.3-preview.6-linux-x86_64.tar.gz?ex=68beb0c7&is=68bd5f47&hm=09a61b4eeadb1f0b61ed70a6d1a14fe267f320027e0aae8dca1923d0813b063a&";
hash = "sha256-KqGnG4xdZcOQJQXrNU3leLXDNjNFAVjvuDUKAR38IBs=";
};
nativeBuildInputs = [autoPatchelfHook];
preBuild = ''
addAutoPatchelfSearchPath ./usr/plugins/
addAutoPatchelfSearchPath ./usr/bin/
addAutoPatchelfSearchPath ./usr/lib/
'';
buildInputs = [
xorg.libX11
xorg.libxcb
libGL
libgcc
systemdLibs
libz
glibc
fontconfig
e2fsprogs
];
installPhase = ''
runHook preInstall
cp -r . $out
runHook postInstall
'';
name = "discord-music-presence";
}