1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

slimserver: update name and homepage, format

This commit is contained in:
Adam Stephens 2024-04-22 12:16:21 -04:00
parent c2f35ad0e3
commit c41e8c361a
No known key found for this signature in database

View file

@ -1,22 +1,35 @@
{ faad2
, fetchFromGitHub
, flac
, lame
, lib
, makeWrapper
, monkeysAudio
, nixosTests
, perlPackages
, sox
, stdenv
, wavpack
, zlib
, enableUnfreeFirmware ? false
{
faad2,
fetchFromGitHub,
flac,
lame,
lib,
makeWrapper,
monkeysAudio,
nixosTests,
perlPackages,
sox,
stdenv,
wavpack,
zlib,
enableUnfreeFirmware ? false,
}:
let
binPath = lib.makeBinPath ([ lame flac faad2 sox wavpack ] ++ (lib.optional stdenv.isLinux monkeysAudio));
libPath = lib.makeLibraryPath [ zlib stdenv.cc.cc.lib ];
binPath = lib.makeBinPath (
[
lame
flac
faad2
sox
wavpack
]
++ (lib.optional stdenv.isLinux monkeysAudio)
);
libPath = lib.makeLibraryPath [
zlib
stdenv.cc.cc.lib
];
in
perlPackages.buildPerlPackage rec {
pname = "slimserver";
@ -31,7 +44,9 @@ perlPackages.buildPerlPackage rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = with perlPackages; [
buildInputs =
with perlPackages;
[
AnyEvent
ArchiveZip
AsyncUtil
@ -151,14 +166,17 @@ perlPackages.buildPerlPackage rec {
};
meta = with lib; {
homepage = "https://github.com/LMS-Community/slimserver";
homepage = "https://lyrion.org/";
changelog = "https://github.com/LMS-Community/slimserver/blob/${version}/Changelog${lib.versions.major version}.html";
description = "Server for Logitech Squeezebox players. This server is also called Logitech Media Server";
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
license = if enableUnfreeFirmware then licenses.unfree else licenses.gpl2Only;
mainProgram = "slimserver";
maintainers = with maintainers; [ adamcstephens jecaro ];
maintainers = with maintainers; [
adamcstephens
jecaro
];
platforms = platforms.unix;
broken = stdenv.isDarwin;
};