tetrio-desktop: fix build and audio

Changes the source to a direct download and adds libpulseaudio to the library path
This commit is contained in:
wackbyte 2022-01-25 20:39:59 -05:00
parent 8fd3da8187
commit 3d88b59e3e
No known key found for this signature in database
GPG key ID: 937F2AE5CCEFBF59

View file

@ -4,6 +4,7 @@
, autoPatchelfHook , autoPatchelfHook
, alsa-lib , alsa-lib
, cups , cups
, libpulseaudio
, libX11 , libX11
, libXScrnSaver , libXScrnSaver
, libXtst , libXtst
@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
version = "8.0.0"; version = "8.0.0";
src = fetchurl { src = fetchurl {
url = "https://web.archive.org/web/20211130172544/https://tetr.io/about/desktop/builds/TETR.IO%20Setup.deb"; url = "https://web.archive.org/web/20211228025517if_/https://tetr.io/about/desktop/builds/TETR.IO%20Setup.deb";
name = "tetrio-desktop.deb"; name = "tetrio-desktop.deb";
sha256 = "1nlblfhrph4cw8rpic9icrs78mzrxyskl7ggyy2i8bk9i07i21xf"; sha256 = "1nlblfhrph4cw8rpic9icrs78mzrxyskl7ggyy2i8bk9i07i21xf";
}; };
@ -43,6 +44,7 @@ stdenv.mkDerivation rec {
libPath = lib.makeLibraryPath [ libPath = lib.makeLibraryPath [
alsa-lib alsa-lib
cups cups
libpulseaudio
libX11 libX11
libXScrnSaver libXScrnSaver
libXtst libXtst