Skip to content

Commit

Permalink
slimserver: 8.5.2 -> 9.0.0 (NixOS#361093)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcstephens authored Dec 4, 2024
2 parents ae92b4b + b834a52 commit 14ff5eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions pkgs/by-name/sl/slimserver/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ let
in
perlPackages.buildPerlPackage rec {
pname = "slimserver";
version = "8.5.2";
version = "9.0.0";

src = fetchFromGitHub {
owner = "LMS-Community";
repo = "slimserver";
rev = version;
hash = "sha256-262SHaxt5ow3nJtNVk10sbiPUfDb/U+Ab97DRjkJZFI=";
hash = "sha256-Sd39J8YOywOOtVHxO3OPABULwRI5VGovS33tAj4TFkw=";
};

nativeBuildInputs = [ makeWrapper ];
Expand Down Expand Up @@ -151,6 +151,7 @@ perlPackages.buildPerlPackage rec {
installPhase = ''
cp -r . $out
wrapProgram $out/slimserver.pl --prefix LD_LIBRARY_PATH : "${libPath}" --prefix PATH : "${binPath}"
chmod +x $out/scanner.pl
wrapProgram $out/scanner.pl --prefix LD_LIBRARY_PATH : "${libPath}" --prefix PATH : "${binPath}"
mkdir $out/bin
ln -s $out/slimserver.pl $out/bin/slimserver
Expand All @@ -168,7 +169,7 @@ perlPackages.buildPerlPackage rec {

meta = with lib; {
homepage = "https://lyrion.org/";
changelog = "https://github.com/LMS-Community/slimserver/blob/${version}/Changelog${lib.versions.major version}.html";
changelog = "https://lyrion.org/getting-started/changelog-lms${lib.versions.major version}";
description = "Lyrion Music Server (formerly Logitech Media Server) is open-source server software which controls a wide range of Squeezebox audio players";
# the firmware is not under a free license, so we do not include firmware in the default package
# https://github.com/LMS-Community/slimserver/blob/public/8.3/License.txt
Expand Down
6 changes: 3 additions & 3 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1312,10 +1312,10 @@ with self; {

AudioScan = buildPerlPackage {
pname = "Audio-Scan";
version = "1.05";
version = "1.10";
src = fetchurl {
url = "https://github.com/Logitech/slimserver-vendor/raw/public/8.3/CPAN/Audio-Scan-1.05.tar.gz";
hash = "sha256-9YXC8GHPRWKlV8emmTke7RB0HhiCbALmZQqtQFLcBi4=";
url = "https://github.com/Logitech/slimserver-vendor/raw/public/9.0/CPAN/Audio-Scan-1.10.tar.gz";
hash = "sha256-Vqi/rnYKijmaWYwTFTyj88aMoDB2cCSHxHeR1bkfqSk=";
};
buildInputs = [ pkgs.zlib TestWarn ];
env.NIX_CFLAGS_COMPILE = "-I${pkgs.zlib.dev}/include";
Expand Down

0 comments on commit 14ff5eb

Please sign in to comment.