nixpkgs/pkgs/servers/shairport-sync/default.nix

45 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
stdenv.mkDerivation rec {
2020-02-23 03:10:50 +00:00
version = "3.3.6";
pname = "shairport-sync";
src = fetchFromGitHub {
2020-02-23 03:10:50 +00:00
sha256 = "0s5aq1a7dmf3n2d6ps6x7xarpn53vvlcbms8k23wl2h5vrx91rwi";
rev = version;
repo = "shairport-sync";
owner = "mikebrady";
};
2017-07-30 16:14:46 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
openssl
avahi
alsaLib
libdaemon
popt
libconfig
libpulseaudio
soxr
];
enableParallelBuilding = true;
configureFlags = [
"--with-alsa" "--with-pipe" "--with-pa" "--with-stdout"
"--with-avahi" "--with-ssl=openssl" "--with-soxr"
"--without-configfiles"
"--sysconfdir=/etc"
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Airtunes server and emulator with multi-room capabilities";
license = licenses.mit;
2017-07-30 16:14:46 +01:00
maintainers = with maintainers; [ lnl7 ];
platforms = platforms.unix;
};
}