update radarr
This commit is contained in:
parent
fee475957c
commit
de9e778a9d
1 changed files with 34 additions and 31 deletions
|
@ -12,9 +12,11 @@
|
|||
openssl,
|
||||
nixosTests,
|
||||
zlib,
|
||||
}:
|
||||
let
|
||||
os = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
|
||||
}: let
|
||||
os =
|
||||
if stdenv.hostPlatform.isDarwin
|
||||
then "osx"
|
||||
else "linux";
|
||||
arch =
|
||||
{
|
||||
x86_64-linux = "x64";
|
||||
|
@ -22,20 +24,21 @@ let
|
|||
x86_64-darwin = "x64";
|
||||
aarch64-darwin = "arm64";
|
||||
}
|
||||
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
."${stdenv.hostPlatform.system}"
|
||||
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
hash =
|
||||
{
|
||||
x64-linux_hash = "sha256-08jQhaPPS4zEQuJ2ovP/ZsNXG1dJvia4X6RrXywHNao=";
|
||||
arm64-linux_hash = "sha256-70IWCu48jvoTHo8Q/78n/ZDmhFwm9PZOYXUl/17insg=";
|
||||
x64-osx_hash = "sha256-fJAjGx5l4wa27krZFAeKvrWDk9p02HtXhbDv04x0+sA=";
|
||||
arm64-osx_hash = "sha256-GmWDseb8MrpKIL50KAbTFjzu1MoEZXpzUI44Xwaeoeo=";
|
||||
x64-linux_hash = "sha256-D0Np9Jz7E4/1dnWkFdHQIGthklCVc6yav2AAE9pFcu0=";
|
||||
arm64-linux_hash = lib.fakeSha256;
|
||||
x64-osx_hash = lib.fakeSha256;
|
||||
arm64-osx_hash = lib.fakeSha256;
|
||||
}
|
||||
."${arch}-${os}_hash";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "radarr";
|
||||
version = "5.17.2.9580";
|
||||
version = "5.18.4.9674";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||
|
|
Loading…
Reference in a new issue