3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #48831 from nyanloutre/18-09-slimserver-fix

[18.09] slimserver: Relax audio scan dependency (#47029)
This commit is contained in:
Jörg Thalheim 2018-10-22 22:48:00 +01:00 committed by GitHub
commit 09bc130c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,6 @@ buildPerlPackage rec {
sha256 = "0szp5zkmx2b5lncsijf97asjnl73fyijkbgbwkl1i7p8qnqrb4mp";
};
patches = [ (fetchpatch {
url = "https://github.com/Logitech/slimserver/pull/204.patch";
sha256 = "0n1c8nsbvqkmwj5ivkcxh1wkqqm1lwymmfz9i47ih6ifj06hkpxk";
} ) ];
buildInputs = [
makeWrapper
perl
@ -72,6 +67,10 @@ buildPerlPackage rec {
rm -rf CPAN
rm -rf Bin
touch Makefile.PL
# relax audio scan version constraints
substituteInPlace lib/Audio/Scan.pm --replace "0.93" "1.01"
substituteInPlace modules.conf --replace "Audio::Scan 0.93 0.95" "Audio::Scan 0.93"
'';
preConfigurePhase = "";