1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

init slimserver

This commit is contained in:
Philipp Hausmann 2017-03-02 20:38:06 +01:00
parent 718f3ba198
commit ffa3dbeee1
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ stdenv, fetchFromGitHub
, makeWrapper
#, sqlite, expat, mp4v2, flac, spidermonkey_1_8_5, taglib, libexif, curl, ffmpeg, file
, perl, perlPackages }:
stdenv.mkDerivation rec {
name = "slimserver-${version}";
version = "7.9";
src = fetchFromGitHub {
owner = "Logitech";
repo = "slimserver";
rev = "095dd886a01e56a1ffe1b2ea31bb290d17c83948";
sha256 = "06s945spxh6j4g0l1k6cxpq04011ad4swgqd2in87c86sf6bm445";
};
buildInputs = [
makeWrapper
perl
perlPackages.Log4Perl
perlPackages.AudioScan
perlPackages.ImageScale
];
buildPhase = ''
'';
installPhase = ''
cp -r . $out
'';
postFixup = ''
wrapProgram $out/slimserver.pl \
--set PERL5LIB "${with perlPackages; stdenv.lib.makePerlPath [
Log4Perl
]}"
'';
meta = with stdenv.lib; {
homepage = https://github.com/Logitech/slimserver;
description = "Server for Logitech Squeezebox players. This server is also called Logitech Media Server";
# TODO: not all source code is under gpl2!
license = licenses.gpl2;
maintainers = [ maintainers.phile314 ];
platforms = platforms.linux;
};
}

View file

@ -10896,6 +10896,8 @@ with pkgs;
sipwitch = callPackage ../servers/sip/sipwitch { };
slimserver = callPackage ../servers/slimserver { };
smcroute = callPackage ../servers/smcroute { };
spawn_fcgi = callPackage ../servers/http/spawn-fcgi { };