tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
roon-server: use upstream stable URL for src
Bernardo Meurer
4 years ago
dc7bcb2c
75b5e5ee
+10
-9
1 changed file
expand all
collapse all
unified
split
pkgs
servers
roon-server
default.nix
+10
-9
pkgs/servers/roon-server/default.nix
···
9
9
, makeWrapper
10
10
, stdenv
11
11
, zlib
12
12
-
}: stdenv.mkDerivation rec {
12
12
+
}:
13
13
+
stdenv.mkDerivation rec {
13
14
pname = "roon-server";
14
15
version = "1.8-831";
15
16
16
16
-
# N.B. The URL is unstable. I've asked for them to provide a stable URL but
17
17
-
# they have ignored me. If this package fails to build for you, you may need
18
18
-
# to update the version and sha256.
19
19
-
# c.f. https://community.roonlabs.com/t/latest-roon-server-is-not-available-for-download-on-nixos/118129
20
20
-
src = fetchurl {
21
21
-
url = "https://web.archive.org/web/20210921161727/http://download.roonlabs.com/builds/RoonServer_linuxx64.tar.bz2";
22
22
-
sha256 = "sha256-SeMSC7K6DV7rVr1w/SqMnLvipoWbypS/gJnSZmpfXZk=";
23
23
-
};
17
17
+
src =
18
18
+
let
19
19
+
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "00" ] version;
20
20
+
in
21
21
+
fetchurl {
22
22
+
url = "http://download.roonlabs.com/builds/RoonServer_linuxx64_${urlVersion}.tar.bz2";
23
23
+
sha256 = "sha256-SeMSC7K6DV7rVr1w/SqMnLvipoWbypS/gJnSZmpfXZk=";
24
24
+
};
24
25
25
26
buildInputs = [
26
27
alsa-lib