forked from mirrors/nixpkgs
radarr: 3.2.1.5070 -> 3.2.2.5080
This commit is contained in:
parent
9f9a0c0ec6
commit
7618e16c33
|
@ -9,14 +9,14 @@ let
|
||||||
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
hash = {
|
hash = {
|
||||||
x64-linux_hash = "sha256-/9W8VwA3d7R2pYH45QvGC1q9f9M9C867nKuhSlU6zsg=";
|
x64-linux_hash = "sha256-IwD7PFRz6mjEjUTbpqItorvFMB/hcMcRhHG8XQHv0iM=";
|
||||||
arm64-linux_hash = "sha256-QjIg+XY5vTmYH+wYqU3VZ5MfxSAcUcGVvapyrlMDbLI=";
|
arm64-linux_hash = "sha256-9Ou08PI3HNQO6Da76ZMkzx1QlU+oaq9Tr+vqPT05xnw=";
|
||||||
x64-osx_hash = "sha256-K17tzGdLKpHkkLSOT3a4FXXfeGz6LJ6cxd20IuJ2zVs=";
|
x64-osx_hash = "sha256-Nfm9vWB+ii2ZST6I4I8Y2PuG2a1qY7rbki57y88Ft8A=";
|
||||||
}."${arch}-${os}_hash";
|
}."${arch}-${os}_hash";
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "radarr";
|
pname = "radarr";
|
||||||
version = "3.2.1.5070";
|
version = "3.2.2.5080";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.${os}-core-${arch}.tar.gz";
|
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.master.${version}.${os}-core-${arch}.tar.gz";
|
||||||
|
@ -26,6 +26,8 @@ in stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/{bin,share/${pname}-${version}}
|
mkdir -p $out/{bin,share/${pname}-${version}}
|
||||||
cp -r * $out/share/${pname}-${version}/.
|
cp -r * $out/share/${pname}-${version}/.
|
||||||
|
|
||||||
|
@ -33,6 +35,8 @@ in stdenv.mkDerivation rec {
|
||||||
--add-flags "$out/share/${pname}-${version}/Radarr.dll" \
|
--add-flags "$out/share/${pname}-${version}/Radarr.dll" \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||||
curl sqlite libmediainfo mono openssl icu ]}
|
curl sqlite libmediainfo mono openssl icu ]}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue