git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitd9975aa84212d45faabb9808e89029e8297c13ee authorElis Hirwing <elis@hirwing.se> dateSun 20 Oct 2019, 16:47 (7 years ago) parentab42edc
1 file changed+3−4
pkgs/servers/lidarr/default.nix+3−4
pkgs/servers/lidarr/default.nix+3−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper }:
1+{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, chromaprint, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "lidarr";
@@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "1vk1rlsb48ckdc4421a2qs0v5gy7kc4fad24dm3k14znh7llwypr";
1010 };
1111
12− buildInputs = [
13− makeWrapper
14− ];
12+ nativeBuildInputs = [ makeWrapper ];
1513
1614 installPhase = ''
1715 mkdir -p $out/bin
@@ -22,6 +20,7 @@ stdenv.mkDerivation rec {
2220
2321 makeWrapper "${mono}/bin/mono" $out/bin/Lidarr \
2422 --add-flags "$out/bin/Lidarr.exe" \
23+ --prefix PATH : ${stdenv.lib.makeBinPath [ chromaprint ]} \
2524 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
2625 curl sqlite libmediainfo ]}
2726 '';