Merge pull request #71445 from etu/lidarr-add-missing-dependency

lidarr: Add missing dependency chromaprint
This commit is contained in:
Renaud 2019-10-23 09:25:35 +02:00 committed by GitHub
commit cc06fe2649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 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 ]}
'';

View file

@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "05l7l4d1765m01c14iz8lcr61dnm4xd5p09sns4w8wmanks9jg3x";
};
buildInputs = [
makeWrapper
];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin