lidarr: Add missing dependency chromaprint

Without adding this dependency in the system status page I get the
warning saying the following:
> fpcalc could not be found. Audio fingerprinting disabled.

With this dep we instead get the following:
> You have an old version of fpcalc. Please upgrade to 1.4.3.

Which I would find an improvement from the current state.
gstqt5
Elis Hirwing 2019-10-20 16:47:40 +02:00
parent ab42edccc2
commit d9975aa842
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper }:
{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, chromaprint, makeWrapper }:
stdenv.mkDerivation rec {
pname = "lidarr";
@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1vk1rlsb48ckdc4421a2qs0v5gy7kc4fad24dm3k14znh7llwypr";
};
buildInputs = [
makeWrapper
];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
@ -22,6 +20,7 @@ stdenv.mkDerivation rec {
makeWrapper "${mono}/bin/mono" $out/bin/Lidarr \
--add-flags "$out/bin/Lidarr.exe" \
--prefix PATH : ${stdenv.lib.makeBinPath [ chromaprint ]} \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
curl sqlite libmediainfo ]}
'';