tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
radarr: add aarch64-darwin support
Weijia Wang
2 years ago
c8d175fa
ba29c65b
+4
-1
2 changed files
expand all
collapse all
unified
split
pkgs
servers
radarr
default.nix
update.sh
+3
-1
pkgs/servers/radarr/default.nix
···
6
x86_64-linux = "x64";
7
aarch64-linux = "arm64";
8
x86_64-darwin = "x64";
0
9
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
10
11
hash = {
12
x64-linux_hash = "sha256-Y08mLq/lpWqwcffPczL+ntS7CWLmOgz9irfbhIKbL5A=";
13
arm64-linux_hash = "sha256-gswwyq9ZIObwrcs6PABhcN4saF8VDQHLpP2trAnVSck=";
14
x64-osx_hash = "sha256-MxlUQLXiCg02AMTYsAWrM4l3IfgCRIPoU0cgwT8S98g=";
0
15
}."${arch}-${os}_hash";
16
17
in stdenv.mkDerivation rec {
···
50
changelog = "https://github.com/Radarr/Radarr/releases/tag/v${version}";
51
license = licenses.gpl3Only;
52
maintainers = with maintainers; [ edwtjo purcell ];
53
-
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
54
};
55
}
···
6
x86_64-linux = "x64";
7
aarch64-linux = "arm64";
8
x86_64-darwin = "x64";
9
+
aarch64-darwin = "arm64";
10
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
11
12
hash = {
13
x64-linux_hash = "sha256-Y08mLq/lpWqwcffPczL+ntS7CWLmOgz9irfbhIKbL5A=";
14
arm64-linux_hash = "sha256-gswwyq9ZIObwrcs6PABhcN4saF8VDQHLpP2trAnVSck=";
15
x64-osx_hash = "sha256-MxlUQLXiCg02AMTYsAWrM4l3IfgCRIPoU0cgwT8S98g=";
16
+
arm64-osx_hash = "sha256-mZqP5hCJqSBY7BDooa+FGi6cdEey9DqVMV8fhp9/2IM=";
17
}."${arch}-${os}_hash";
18
19
in stdenv.mkDerivation rec {
···
52
changelog = "https://github.com/Radarr/Radarr/releases/tag/v${version}";
53
license = licenses.gpl3Only;
54
maintainers = with maintainers; [ edwtjo purcell ];
55
+
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
56
};
57
}
+1
pkgs/servers/radarr/update.sh
···
40
updateHash $latestVersion x64 linux
41
updateHash $latestVersion arm64 linux
42
updateHash $latestVersion x64 osx
0
···
40
updateHash $latestVersion x64 linux
41
updateHash $latestVersion arm64 linux
42
updateHash $latestVersion x64 osx
43
+
updateHash $latestVersion arm64 osx