roon-bridge: use upstream stable URL for src
This commit is contained in:
parent
dc7bcb2c85
commit
cfa8af7f1b
|
@ -15,20 +15,20 @@ stdenv.mkDerivation rec {
|
||||||
pname = "roon-bridge";
|
pname = "roon-bridge";
|
||||||
version = "1.8-814";
|
version = "1.8-814";
|
||||||
|
|
||||||
# N.B. The URL is unstable. I've asked for them to provide a stable URL but
|
src =
|
||||||
# they have ignored me. If this package fails to build for you, you may need
|
let
|
||||||
# to update the version and sha256.
|
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "00" ] version;
|
||||||
# c.f. https://community.roonlabs.com/t/latest-roon-server-is-not-available-for-download-on-nixos/118129
|
in
|
||||||
src = {
|
{
|
||||||
x86_64-linux = fetchurl {
|
x86_64-linux = fetchurl {
|
||||||
url = "https://web.archive.org/web/20210729154257/http://download.roonlabs.com/builds/RoonBridge_linuxx64.tar.bz2";
|
url = "http://download.roonlabs.com/builds/RoonBridge_linuxx64_${urlVersion}.tar.bz2";
|
||||||
sha256 = "sha256-dersaP/8qkl9k81FrgMieB0P4nKmDwjLW5poqKhEn7A=";
|
sha256 = "sha256-dersaP/8qkl9k81FrgMieB0P4nKmDwjLW5poqKhEn7A=";
|
||||||
};
|
};
|
||||||
aarch64-linux = fetchurl {
|
aarch64-linux = fetchurl {
|
||||||
url = "https://web.archive.org/web/20210803071334/http://download.roonlabs.com/builds/RoonBridge_linuxarmv8.tar.bz2";
|
url = "http://download.roonlabs.com/builds/RoonBridge_linuxarmv8_${urlVersion}.tar.bz2";
|
||||||
sha256 = "sha256-zZj7PkLUYYHo3dngqErv1RqynSXi6/D5VPZWfrppX5U=";
|
sha256 = "sha256-zZj7PkLUYYHo3dngqErv1RqynSXi6/D5VPZWfrppX5U=";
|
||||||
};
|
};
|
||||||
}.${system} or throwSystem;
|
}.${system} or throwSystem;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
|
|
Loading…
Reference in a new issue