roon-server: use upstream stable URL for src

main
Bernardo Meurer 3 years ago
parent 75b5e5ee26
commit dc7bcb2c85
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
  1. 19
      pkgs/servers/roon-server/default.nix

@ -9,18 +9,19 @@
, makeWrapper
, stdenv
, zlib
}: stdenv.mkDerivation rec {
}:
stdenv.mkDerivation rec {
pname = "roon-server";
version = "1.8-831";
# N.B. The URL is unstable. I've asked for them to provide a stable URL but
# they have ignored me. If this package fails to build for you, you may need
# to update the version and sha256.
# c.f. https://community.roonlabs.com/t/latest-roon-server-is-not-available-for-download-on-nixos/118129
src = fetchurl {
url = "https://web.archive.org/web/20210921161727/http://download.roonlabs.com/builds/RoonServer_linuxx64.tar.bz2";
sha256 = "sha256-SeMSC7K6DV7rVr1w/SqMnLvipoWbypS/gJnSZmpfXZk=";
};
src =
let
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "00" ] version;
in
fetchurl {
url = "http://download.roonlabs.com/builds/RoonServer_linuxx64_${urlVersion}.tar.bz2";
sha256 = "sha256-SeMSC7K6DV7rVr1w/SqMnLvipoWbypS/gJnSZmpfXZk=";
};
buildInputs = [
alsa-lib

Loading…
Cancel
Save