tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
roon-bridge: 1.8-943 -> 1.8-1125
Bernardo Meurer
3 years ago
33159a50
90528ce9
+16
-18
1 changed file
expand all
collapse all
unified
split
pkgs
servers
roon-bridge
default.nix
+16
-18
pkgs/servers/roon-bridge/default.nix
···
9
9
, stdenv
10
10
, zlib
11
11
}:
12
12
-
stdenv.mkDerivation rec {
12
12
+
let
13
13
+
version = "1.8-1125";
14
14
+
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "0" ] version;
15
15
+
host = stdenv.hostPlatform.system;
16
16
+
system = if host == "x86_64-linux" then "linuxx64"
17
17
+
else if host == "aarch64-linux" then "linuxarmv8"
18
18
+
else throw "Unsupported platform ${host}";
19
19
+
src = fetchurl {
20
20
+
url = "https://download.roonlabs.com/updates/stable/RoonBridge_${system}_${urlVersion}.tar.bz2";
21
21
+
hash = if system == "linuxx64" then "sha256-DbtKPFEz2WIoKTxP+zoehzz+BjfsLZ2ZQk/FMh+zFBM="
22
22
+
else if system == "linuxarmv8" then "sha256-+przEj96R+f1z4ewETFarF4oY6tT2VW/ukSTgUBLiYk="
23
23
+
else throw "Unsupported platform ${host}";
24
24
+
};
25
25
+
in
26
26
+
stdenv.mkDerivation {
13
27
pname = "roon-bridge";
14
14
-
version = "1.8-943";
15
15
-
16
16
-
src =
17
17
-
let
18
18
-
urlVersion = builtins.replaceStrings [ "." "-" ] [ "00" "00" ] version;
19
19
-
inherit (stdenv.targetPlatform) system;
20
20
-
in
21
21
-
{
22
22
-
x86_64-linux = fetchurl {
23
23
-
url = "http://download.roonlabs.com/builds/RoonBridge_linuxx64_${urlVersion}.tar.bz2";
24
24
-
hash = "sha256-knmy2zlRh+ehvYKHC7UN60pMCt8bYPuo9kTz2m0pOW0";
25
25
-
};
26
26
-
aarch64-linux = fetchurl {
27
27
-
url = "http://download.roonlabs.com/builds/RoonBridge_linuxarmv8_${urlVersion}.tar.bz2";
28
28
-
hash = "sha256-urMhtBUjP4HpV9EDZOLLnfnMqhmsWPx0M2+Xdvc8YnU=";
29
29
-
};
30
30
-
}.${system} or (throw "Unsupposed system: ${system}");
28
28
+
inherit src version;
31
29
32
30
dontConfigure = true;
33
31
dontBuild = true;