Gerg-L bb4d872f25
tidal-hifi: 5.18.2 -> 5.19.0
also build from source
2025-05-02 05:37:28 -04:00

32 lines
775 B
Nix

{
fetchzip,
lib,
}:
let
/*
see:
https://github.com/Mastermindzh/tidal-hifi/blob/master/build/electron-builder.base.yml
for the expected version
*/
version = "35.1.1";
in
(fetchzip {
url = "https://github.com/castlabs/electron-releases/releases/download/v${version}+wvcus/electron-v${version}+wvcus-linux-x64.zip";
hash = "sha256-AkPKeG7MrCBlk41qXZxFPRukUPRcIUanq6fJPx5d3RU=";
stripRoot = false;
}).overrideAttrs
(
final: _: {
name = "castlabs-electron-${version}";
inherit version;
pname = "castlabs-electron";
passthru.dist = final.finalPackage.outPath;
meta = {
license = lib.licenses.unfreeRedistributable;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
}
)