diff options
author | Tom Hunger <tehunger@gmail.com> | 2015-05-01 15:54:40 +0100 |
---|---|---|
committer | Tom Hunger <tehunger@gmail.com> | 2015-05-03 14:47:58 +0100 |
commit | 6d219ff22236be585a2cac1db67003811e1d659e (patch) | |
tree | 166dde02c93f3eda782a04414c92f778424ea076 /pkgs/servers/shairport-sync | |
parent | 4c01e6d91993b6de128795f4fbdd25f6227fb870 (diff) | |
download | nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar.gz nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar.bz2 nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar.lz nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar.xz nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.tar.zst nixpkgs-6d219ff22236be585a2cac1db67003811e1d659e.zip |
Add shairport sync binary.
This binary allows to run a local airtunes server.
Diffstat (limited to 'pkgs/servers/shairport-sync')
-rw-r--r-- | pkgs/servers/shairport-sync/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/servers/shairport-sync/default.nix b/pkgs/servers/shairport-sync/default.nix new file mode 100644 index 00000000000..16705433084 --- /dev/null +++ b/pkgs/servers/shairport-sync/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, openssl, avahi, alsaLib, libdaemon, autoconf, automake, libtool, popt, unzip, pkgconfig, libconfig, pulseaudio }: + +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 + pulseaudio + ]; + + 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; + }; +} |