nixpkgs/pkgs/servers/shairport-sync/default.nix
Ryan Mulligan 64f1c7ea98 shairport-sync: 3.0.2 -> 3.1.7
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.1.7 with grep in /nix/store/8r3k0r8vf0wfpj14443pm1k0jddlnii2-shairport-sync-3.1.7
- found 3.1.7 in filename of file in /nix/store/8r3k0r8vf0wfpj14443pm1k0jddlnii2-shairport-sync-3.1.7
2018-03-09 11:47:04 -08:00

44 lines
1.0 KiB
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
stdenv.mkDerivation rec {
version = "3.1.7";
name = "shairport-sync-${version}";
src = fetchFromGitHub {
sha256 = "1ip8vlyly190fhcd55am5xvqisvch8mnw50xwbm663dapdb1f8ys";
rev = version;
repo = "shairport-sync";
owner = "mikebrady";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
openssl
avahi
alsaLib
libdaemon
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;
maintainers = with maintainers; [ lnl7 ];
platforms = platforms.unix;
};
}