1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
4 stdenv.mkDerivation rec {
5 pname = "shairplay-unstable";
6 version = "2018-08-24";
8 src = fetchFromGitHub {
11 rev = "096b61ad14c90169f438e690d096e3fcf87e504e";
12 sha256 = "02xkd9al79pbqh8rhzz5w99vv43jg5vqkqg7kxsw8c8sz9di9wsa";
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
17 buildInputs = [ avahi libao ];
19 enableParallelBuilding = true;
21 # the build will fail without complaining about a reference to /tmp
22 preFixup = lib.optionalString stdenv.isLinux ''
24 --set-rpath "${lib.makeLibraryPath buildInputs}:$out/lib" \
29 inherit (src.meta) homepage;
30 description = "Apple AirPlay and RAOP protocol server";
31 license = licenses.mit;
32 maintainers = with maintainers; [ peterhoeg ];
33 platforms = platforms.unix;
34 mainProgram = "shairplay";