updates
This commit is contained in:
parent
6198cf14d4
commit
1506941c66
49 changed files with 1963 additions and 1822 deletions
47
packages/discord-music-presence/default.nix
Normal file
47
packages/discord-music-presence/default.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue