Merge pull request #249018 from spikespaz/update-tidal-hifi

tidal-hifi: 5.5.0 -> 5.6.0
This commit is contained in:
Emily 2023-08-18 19:58:52 +02:00 committed by GitHub
commit 4c254fe09d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -15961,6 +15961,12 @@
githubId = 2600039;
name = "Spencer Janssen";
};
spikespaz = {
name = "Jacob Birkett";
email = "support@birkett.dev";
github = "spikespaz";
githubId = 12502988;
};
spinus = {
email = "tomasz.czyz@gmail.com";
github = "spinus";

View File

@ -36,11 +36,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "tidal-hifi";
version = "5.5.0";
version = "5.6.0";
src = fetchurl {
url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${finalAttrs.version}/tidal-hifi_${finalAttrs.version}_amd64.deb";
sha256 = "sha256-pUQgTz7KZt4icD4lDAs4Wg095HxYEAifTM8a4cDejQM=";
sha256 = "sha256-HKylyYhbMxYfRRP9irGMTtB497o75M+ryikQHMJWbtU=";
};
nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ];
@ -105,6 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
postFixup = ''
makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
"''${gappsWrapperArgs[@]}"
substituteInPlace $out/share/applications/tidal-hifi.desktop \
--replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
@ -115,7 +116,8 @@ stdenv.mkDerivation (finalAttrs: {
description = "The web version of Tidal running in electron with hifi support thanks to widevine";
homepage = "https://github.com/Mastermindzh/tidal-hifi";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qbit ];
maintainers = with lib.maintainers; [ qbit spikespaz ];
platforms = lib.platforms.linux;
mainProgram = "tidal-hifi";
};
})