2015-07-07 15:09:38 +03:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
|
|
|
|
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
|
2015-05-01 17:54:40 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-07-07 15:09:38 +03:00
|
|
|
version = "2.3.6.5";
|
2015-05-01 17:54:40 +03:00
|
|
|
name = "shairport-sync-${version}";
|
|
|
|
|
2015-07-07 15:09:38 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "1337y62pnch27s2gr47miip3na1am24xprlc5a27lbr764nr85s3";
|
|
|
|
rev = version;
|
|
|
|
repo = "shairport-sync";
|
|
|
|
owner = "mikebrady";
|
2015-05-01 17:54:40 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-07-07 15:09:38 +03:00
|
|
|
autoreconfHook
|
2015-05-01 17:54:40 +03:00
|
|
|
openssl
|
|
|
|
avahi
|
|
|
|
alsaLib
|
|
|
|
libdaemon
|
|
|
|
pkgconfig
|
|
|
|
popt
|
|
|
|
libconfig
|
2015-05-27 22:42:15 +03:00
|
|
|
libpulseaudio
|
2015-07-07 15:09:38 +03:00
|
|
|
soxr
|
2015-05-01 17:54:40 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-07-07 15:09:38 +03:00
|
|
|
configureFlags = ''
|
|
|
|
--with-alsa --with-pipe --with-pulseaudio --with-stdout
|
|
|
|
--with-avahi --with-ssl=openssl --with-soxr
|
|
|
|
--without-configfiles --without-initscript
|
|
|
|
'';
|
2015-05-01 17:54:40 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-07-07 15:09:38 +03:00
|
|
|
inherit (src.meta) homepage;
|
2015-05-01 17:54:40 +03:00
|
|
|
description = "Airtunes server and emulator with multi-room capabilities";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|