2015-07-07 14:09:38 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
|
|
|
|
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
|
2015-05-01 16:54:40 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-29 17:09:00 +01:00
|
|
|
version = "3.3.5";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "shairport-sync";
|
2015-05-01 16:54:40 +02:00
|
|
|
|
2015-07-07 14:09:38 +02:00
|
|
|
src = fetchFromGitHub {
|
2019-11-29 17:09:00 +01:00
|
|
|
sha256 = "1qaxx1g4dvdx54mc1kw07hm445zij37w6qmkdcwymy13krvsfd4b";
|
2015-07-07 14:09:38 +02:00
|
|
|
rev = version;
|
|
|
|
repo = "shairport-sync";
|
|
|
|
owner = "mikebrady";
|
2015-05-01 16:54:40 +02:00
|
|
|
};
|
|
|
|
|
2017-07-30 17:14:46 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
2015-05-01 16:54:40 +02:00
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
avahi
|
|
|
|
alsaLib
|
|
|
|
libdaemon
|
|
|
|
popt
|
|
|
|
libconfig
|
2015-05-27 21:42:15 +02:00
|
|
|
libpulseaudio
|
2015-07-07 14:09:38 +02:00
|
|
|
soxr
|
2015-05-01 16:54:40 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [
|
2018-09-26 18:07:06 +02:00
|
|
|
"--with-alsa" "--with-pipe" "--with-pa" "--with-stdout"
|
2018-07-25 23:44:21 +02:00
|
|
|
"--with-avahi" "--with-ssl=openssl" "--with-soxr"
|
2018-09-26 18:07:06 +02:00
|
|
|
"--without-configfiles"
|
2019-05-08 12:03:26 +02:00
|
|
|
"--sysconfdir=/etc"
|
2018-07-25 23:44:21 +02:00
|
|
|
];
|
2015-05-01 16:54:40 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-07-07 14:09:38 +02:00
|
|
|
inherit (src.meta) homepage;
|
2015-05-01 16:54:40 +02:00
|
|
|
description = "Airtunes server and emulator with multi-room capabilities";
|
|
|
|
license = licenses.mit;
|
2017-07-30 17:14:46 +02:00
|
|
|
maintainers = with maintainers; [ lnl7 ];
|
2015-05-01 16:54:40 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|