3
0
Fork 0
forked from mirrors/nixpkgs
Elis Hirwing 2019-09-14 18:31:37 +02:00 committed by Bjørn Forsman
parent 2e87260faf
commit 60516726c1

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "lidarr";
version = "0.6.2.883";
version = "0.7.1.1381";
src = fetchurl {
url = "https://github.com/lidarr/Lidarr/releases/download/v${version}/Lidarr.develop.${version}.linux.tar.gz";
sha256 = "0096j2vph739h288vnz481nrwaq540faplir394xqfz7ik0krg4v";
url = "https://github.com/lidarr/Lidarr/releases/download/v${version}/Lidarr.master.${version}.linux.tar.gz";
sha256 = "1vk1rlsb48ckdc4421a2qs0v5gy7kc4fad24dm3k14znh7llwypr";
};
buildInputs = [
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
cp -r * $out/bin/
# Mark all executable files as non-executable
find $out/bin -type f -executable | xargs chmod -x
# Mark main executable as executable
chmod +x $out/bin/Lidarr.exe
makeWrapper "${mono}/bin/mono" $out/bin/Lidarr \
--add-flags "$out/bin/Lidarr.exe" \
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A Usenet/BitTorrent music downloader";
homepage = https://lidarr.audio/;
homepage = "https://lidarr.audio/";
license = licenses.gpl3;
maintainers = [ maintainers.etu ];
platforms = platforms.all;