mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #127666 from jojosch/sonarr-3.0.6.1266
This commit is contained in:
commit
7a8b7c967f
@ -2,22 +2,26 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sonarr";
|
pname = "sonarr";
|
||||||
version = "3.0.6.1196";
|
version = "3.0.6.1266";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.sonarr.tv/v3/main/${version}/Sonarr.main.${version}.linux.tar.gz";
|
url = "https://download.sonarr.tv/v3/main/${version}/Sonarr.main.${version}.linux.tar.gz";
|
||||||
sha256 = "10fm5s1ayjmj0ip5510rb0nfh08gdaxin0xf2f3qw1z5kxys88fm";
|
sha256 = "2YkzmPxJLYClNQnGgheXI8y42ZXAHZUqEpmQ+b2mpfY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r * $out/bin/
|
cp -r * $out/bin/
|
||||||
makeWrapper "${mono}/bin/mono" $out/bin/NzbDrone \
|
makeWrapper "${mono}/bin/mono" $out/bin/NzbDrone \
|
||||||
--add-flags "$out/bin/Sonarr.exe" \
|
--add-flags "$out/bin/Sonarr.exe" \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||||
curl sqlite libmediainfo ]}
|
curl sqlite libmediainfo ]}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user