Merge pull request #71445 from etu/lidarr-add-missing-dependency
lidarr: Add missing dependency chromaprint
This commit is contained in:
commit
cc06fe2649
2 changed files with 4 additions and 7 deletions
|
@ -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 ]}
|
||||
'';
|
||||
|
|
|
@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "05l7l4d1765m01c14iz8lcr61dnm4xd5p09sns4w8wmanks9jg3x";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue