git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7657 from teh/master

Add shairport sync binary.

commit21141d05f54962590589b6653165e15a3b2cbd0c authorPascal Wittmann <PascalWittmann@gmx.net> dateSun 3 May 2015, 21:57 (12 years ago) parent6cecc2b6d219ff
2 files changed+40
pkgs/servers/shairport-sync/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/servers/shairport-sync/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, fetchurl, openssl, avahi, alsaLib, libdaemon, autoconf, automake, libtool, popt, unzip, pkgconfig, libconfig, pulseaudio }:
2+
3+stdenv.mkDerivation rec {
4+ version = "2.3.0";
5+ name = "shairport-sync-${version}";
6+
7+ src = fetchurl {
8+ url = "https://github.com/mikebrady/shairport-sync/archive/${version}.zip";
9+ sha256 = "1kslif2ifrn0frvi39d44wpn53sjahwq0xjc0hd98ycf3xbcgndg";
10+ };
11+
12+ buildInputs = [
13+ openssl
14+ avahi
15+ alsaLib
16+ libdaemon
17+ autoconf
18+ automake
19+ pkgconfig
20+ libtool
21+ popt
22+ unzip
23+ libconfig
24+ pulseaudio
25+ ];
26+
27+ enableParallelBuilding = true;
28+
29+ preConfigure = "autoreconf -vfi";
30+ configureFlags = "--with-alsa --with-avahi --with-ssl=openssl --without-initscript --with-pulseaudio";
31+
32+ meta = with stdenv.lib; {
33+ homepage = https://github.com/mikebrady/shairport-sync;
34+ description = "Airtunes server and emulator with multi-room capabilities";
35+ license = licenses.mit;
36+ platforms = platforms.unix;
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -8791,6 +8791,8 @@ let
87918791
87928792 samba_light = samba4_light;
87938793
8794+ shairport-sync = callPackage ../servers/shairport-sync { };
8795+
87948796 serfdom = callPackage ../servers/serfdom { };
87958797
87968798 seyren = callPackage ../servers/monitoring/seyren { };