mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
39 lines
983 B
Nix
39 lines
983 B
Nix
{ stdenv, fetchurl, openssl, avahi, alsaLib, libdaemon, autoconf, automake, libtool, popt, unzip, pkgconfig, libconfig, libpulseaudio }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.3.0";
|
|
name = "shairport-sync-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mikebrady/shairport-sync/archive/${version}.zip";
|
|
sha256 = "1kslif2ifrn0frvi39d44wpn53sjahwq0xjc0hd98ycf3xbcgndg";
|
|
};
|
|
|
|
buildInputs = [
|
|
openssl
|
|
avahi
|
|
alsaLib
|
|
libdaemon
|
|
autoconf
|
|
automake
|
|
pkgconfig
|
|
libtool
|
|
popt
|
|
unzip
|
|
libconfig
|
|
libpulseaudio
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preConfigure = "autoreconf -vfi";
|
|
configureFlags = "--with-alsa --with-avahi --with-ssl=openssl --without-initscript --with-pulseaudio";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/mikebrady/shairport-sync;
|
|
description = "Airtunes server and emulator with multi-room capabilities";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|