slimserver: update name and homepage, format
This commit is contained in:
parent
c2f35ad0e3
commit
c41e8c361a
|
@ -1,22 +1,35 @@
|
||||||
{ faad2
|
{
|
||||||
, fetchFromGitHub
|
faad2,
|
||||||
, flac
|
fetchFromGitHub,
|
||||||
, lame
|
flac,
|
||||||
, lib
|
lame,
|
||||||
, makeWrapper
|
lib,
|
||||||
, monkeysAudio
|
makeWrapper,
|
||||||
, nixosTests
|
monkeysAudio,
|
||||||
, perlPackages
|
nixosTests,
|
||||||
, sox
|
perlPackages,
|
||||||
, stdenv
|
sox,
|
||||||
, wavpack
|
stdenv,
|
||||||
, zlib
|
wavpack,
|
||||||
, enableUnfreeFirmware ? false
|
zlib,
|
||||||
|
enableUnfreeFirmware ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
binPath = lib.makeBinPath ([ lame flac faad2 sox wavpack ] ++ (lib.optional stdenv.isLinux monkeysAudio));
|
binPath = lib.makeBinPath (
|
||||||
libPath = lib.makeLibraryPath [ zlib stdenv.cc.cc.lib ];
|
[
|
||||||
|
lame
|
||||||
|
flac
|
||||||
|
faad2
|
||||||
|
sox
|
||||||
|
wavpack
|
||||||
|
]
|
||||||
|
++ (lib.optional stdenv.isLinux monkeysAudio)
|
||||||
|
);
|
||||||
|
libPath = lib.makeLibraryPath [
|
||||||
|
zlib
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
];
|
||||||
in
|
in
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
pname = "slimserver";
|
pname = "slimserver";
|
||||||
|
@ -31,79 +44,81 @@ perlPackages.buildPerlPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildInputs = with perlPackages; [
|
buildInputs =
|
||||||
AnyEvent
|
with perlPackages;
|
||||||
ArchiveZip
|
[
|
||||||
AsyncUtil
|
AnyEvent
|
||||||
AudioScan
|
ArchiveZip
|
||||||
CarpClan
|
AsyncUtil
|
||||||
CGI
|
AudioScan
|
||||||
ClassAccessor
|
CarpClan
|
||||||
ClassAccessorChained
|
CGI
|
||||||
ClassC3
|
ClassAccessor
|
||||||
# ClassC3Componentised # Error: DBIx::Class::Row::throw_exception(): DBIx::Class::Relationship::BelongsTo::belongs_to(): Can't infer join condition for track
|
ClassAccessorChained
|
||||||
ClassDataInheritable
|
ClassC3
|
||||||
ClassInspector
|
# ClassC3Componentised # Error: DBIx::Class::Row::throw_exception(): DBIx::Class::Relationship::BelongsTo::belongs_to(): Can't infer join condition for track
|
||||||
ClassISA
|
ClassDataInheritable
|
||||||
ClassMember
|
ClassInspector
|
||||||
ClassSingleton
|
ClassISA
|
||||||
ClassVirtual
|
ClassMember
|
||||||
ClassXSAccessor
|
ClassSingleton
|
||||||
CompressRawZlib
|
ClassVirtual
|
||||||
CryptOpenSSLRSA
|
ClassXSAccessor
|
||||||
DataDump
|
CompressRawZlib
|
||||||
DataPage
|
CryptOpenSSLRSA
|
||||||
DataURIEncode
|
DataDump
|
||||||
DBDSQLite
|
DataPage
|
||||||
DBI
|
DataURIEncode
|
||||||
# DBIxClass # https://github.com/LMS-Community/slimserver/issues/138
|
DBDSQLite
|
||||||
DigestSHA1
|
DBI
|
||||||
EncodeDetect
|
# DBIxClass # https://github.com/LMS-Community/slimserver/issues/138
|
||||||
EV
|
DigestSHA1
|
||||||
ExporterLite
|
EncodeDetect
|
||||||
FileBOM
|
EV
|
||||||
FileCopyRecursive
|
ExporterLite
|
||||||
FileNext
|
FileBOM
|
||||||
FileReadBackwards
|
FileCopyRecursive
|
||||||
FileSlurp
|
FileNext
|
||||||
FileWhich
|
FileReadBackwards
|
||||||
HTMLParser
|
FileSlurp
|
||||||
HTTPCookies
|
FileWhich
|
||||||
HTTPDaemon
|
HTMLParser
|
||||||
HTTPMessage
|
HTTPCookies
|
||||||
ImageScale
|
HTTPDaemon
|
||||||
IOAIO
|
HTTPMessage
|
||||||
IOInterface
|
ImageScale
|
||||||
IOSocketSSL
|
IOAIO
|
||||||
IOString
|
IOInterface
|
||||||
JSONXS
|
IOSocketSSL
|
||||||
JSONXSVersionOneAndTwo
|
IOString
|
||||||
# LogLog4perl # Internal error: Root Logger not initialized.
|
JSONXS
|
||||||
LWP
|
JSONXSVersionOneAndTwo
|
||||||
LWPProtocolHttps
|
# LogLog4perl # Internal error: Root Logger not initialized.
|
||||||
MP3CutGapless
|
LWP
|
||||||
NetHTTP
|
LWPProtocolHttps
|
||||||
NetHTTPSNB
|
MP3CutGapless
|
||||||
PathClass
|
NetHTTP
|
||||||
ProcBackground
|
NetHTTPSNB
|
||||||
# SQLAbstract # DBI Exception: DBD::SQLite::db prepare_cached failed: no such function: ARRAY
|
PathClass
|
||||||
SQLAbstractLimit
|
ProcBackground
|
||||||
SubName
|
# SQLAbstract # DBI Exception: DBD::SQLite::db prepare_cached failed: no such function: ARRAY
|
||||||
TemplateToolkit
|
SQLAbstractLimit
|
||||||
TextUnidecode
|
SubName
|
||||||
TieCacheLRU
|
TemplateToolkit
|
||||||
TieCacheLRUExpires
|
TextUnidecode
|
||||||
TieRegexpHash
|
TieCacheLRU
|
||||||
TimeDate
|
TieCacheLRUExpires
|
||||||
URI
|
TieRegexpHash
|
||||||
URIFind
|
TimeDate
|
||||||
UUIDTiny
|
URI
|
||||||
XMLParser
|
URIFind
|
||||||
XMLSimple
|
UUIDTiny
|
||||||
YAMLLibYAML
|
XMLParser
|
||||||
]
|
XMLSimple
|
||||||
# ++ (lib.optional stdenv.isDarwin perlPackages.MacFSEvents)
|
YAMLLibYAML
|
||||||
++ (lib.optional stdenv.isLinux perlPackages.LinuxInotify2);
|
]
|
||||||
|
# ++ (lib.optional stdenv.isDarwin perlPackages.MacFSEvents)
|
||||||
|
++ (lib.optional stdenv.isLinux perlPackages.LinuxInotify2);
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# remove vendored binaries
|
# remove vendored binaries
|
||||||
|
@ -151,14 +166,17 @@ perlPackages.buildPerlPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
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
|
# 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
|
# https://github.com/LMS-Community/slimserver/blob/public/8.3/License.txt
|
||||||
license = if enableUnfreeFirmware then licenses.unfree else licenses.gpl2Only;
|
license = if enableUnfreeFirmware then licenses.unfree else licenses.gpl2Only;
|
||||||
mainProgram = "slimserver";
|
mainProgram = "slimserver";
|
||||||
maintainers = with maintainers; [ adamcstephens jecaro ];
|
maintainers = with maintainers; [
|
||||||
|
adamcstephens
|
||||||
|
jecaro
|
||||||
|
];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user