1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/servers/shairport-sync/default.nix
Tobias Geerinckx-Rice 8ff60567ae shairport-sync: 2.3.0 -> 2.3.6.5
- Enable additional backends: pipe, stdout
- Support high-quality resampling with soxr
- Support configuration files, but don't install one
- Cut down on boilerplate code with fetchFromGitHub/autoreconfHook
2015-07-08 17:13:03 +02:00

43 lines
974 B
Nix

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