overlays/tidal-hifi: 5.1.0 -> 5.2.0

This commit is contained in:
Aaron Bieber 2023-06-19 07:06:06 -06:00
parent 5df1745a0c
commit 0415070d19
No known key found for this signature in database
3 changed files with 14 additions and 15 deletions

View File

@ -1,15 +1,15 @@
{ isUnstable, xinlib, ... }: { isUnstable, xinlib, ... }:
let let
#inherit (xinlib) prIsOpen; inherit (xinlib) prIsOpen;
#_1password-gui = prIsOpen.overlay 235900 (import ./1password-gui.nix); #_1password-gui = prIsOpen.overlay 235900 (import ./1password-gui.nix);
#openssh = import ./openssh.nix; #openssh = import ./openssh.nix;
#obsidian = prIsOpen.overlay 235408 (import ./obsidian.nix); #obsidian = prIsOpen.overlay 235408 (import ./obsidian.nix);
#tailscale = import ./tailscale.nix; #tailscale = import ./tailscale.nix;
#jetbrains = prIsOpen 232308 (import ./jetbrains.nix); #jetbrains = prIsOpen 232308 (import ./jetbrains.nix);
#tidal-hifi = prIsOpen 228552 (import ./tidal-hifi.nix { inherit lib; }); tidal-hifi = prIsOpen.overlay 238572 (import ./tidal-hifi.nix);
#matrix-synapse = prIsOpen.overlay 236474 (import ./matrix-synapse.nix); #matrix-synapse = prIsOpen.overlay 236474 (import ./matrix-synapse.nix);
in { in {
nixpkgs.overlays = if isUnstable then [ ] else [ ]; nixpkgs.overlays = if isUnstable then [ tidal-hifi ] else [ ];
} }
# Example Python dep overlay # Example Python dep overlay

View File

@ -1,23 +1,13 @@
{ lib, ... }:
let let
tidal-hifi = _: super: { tidal-hifi = _: super: {
tidal-hifi = super.tidal-hifi.overrideAttrs (_: rec { tidal-hifi = super.tidal-hifi.overrideAttrs (_: rec {
version = "5.1.0"; version = "5.2.0";
src = super.fetchurl { src = super.fetchurl {
url = url =
"https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb"; "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb";
sha256 = "sha256-IaSgul2L0L343TVT3ujgBoMt6tITwjJaBNOVJPCBDtI="; sha256 = "sha256-ZdEbGsGt1Z/vve3W/Z6Pw1+m5xoTY/l7Es03yM4T0tE=";
}; };
postFixup = ''
makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \
--prefix LD_LIBRARY_PATH : "${
lib.makeLibraryPath super.tidal-hifi.buildInputs
}" \
"''${gappsWrapperArgs[@]}"
substituteInPlace $out/share/applications/tidal-hifi.desktop \
--replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
'';
}); });
}; };
in tidal-hifi in tidal-hifi

View File

@ -0,0 +1,9 @@
{
"branches": [],
"error": "",
"pull_request": 238572,
"release": "stable",
"status": "open",
"status_info": {},
"title": "tidal-hifi: 5.1.0 -> 5.2.0"
}