1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/radarr/default.nix
Ryan Mulligan a0e1e340ee radarr: 0.2.0.980 -> 0.2.0.995
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.2.0.995 with grep in /nix/store/nlny430ihz2ydmabj5a2zz457h76vg3z-radarr-0.2.0.995
- directory tree listing: https://gist.github.com/791e8a8789572292f81465181d3aa586
2018-03-23 20:59:00 -05:00

32 lines
941 B
Nix

{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper }:
stdenv.mkDerivation rec {
name = "radarr-${version}";
version = "0.2.0.995";
src = fetchurl {
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.develop.${version}.linux.tar.gz";
sha256 = "04sgs292qz65fcg5vsps0fk2669xzvyfw1rbc5sbbk3hig5lhlns";
};
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/{bin,share/${name}}
cp -r * $out/share/${name}/.
makeWrapper "${mono}/bin/mono" $out/bin/Radarr \
--add-flags "$out/share/${name}/Radarr.exe" \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
curl sqlite libmediainfo ]}
'';
meta = with stdenv.lib; {
description = "A Usenet/BitTorrent movie downloader.";
homepage = https://radarr.video/;
license = licenses.gpl3;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.all;
};
}