radarr: Update dependencies, zlib and dotnet runtime

This commit is contained in:
Googlebot 2022-04-08 15:26:06 -04:00
parent a10f84a327
commit 4cc6fa7005

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper, icu, dotnetCorePackages, openssl, nixosTests }:
{ lib, stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper, icu, dotnet-runtime, openssl, nixosTests, zlib }:
let
os = if stdenv.isDarwin then "osx" else "linux";
@ -31,10 +31,10 @@ in stdenv.mkDerivation rec {
mkdir -p $out/{bin,share/${pname}-${version}}
cp -r * $out/share/${pname}-${version}/.
makeWrapper "${dotnetCorePackages.runtime_3_1}/bin/dotnet" $out/bin/Radarr \
makeWrapper "${dotnet-runtime}/bin/dotnet" $out/bin/Radarr \
--add-flags "$out/share/${pname}-${version}/Radarr.dll" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
curl sqlite libmediainfo mono openssl icu ]}
curl sqlite libmediainfo mono openssl icu zlib ]}
runHook postInstall
'';