3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/shairport-sync/default.nix

45 lines
1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsa-lib
, libdaemon, popt, pkg-config, libconfig, libpulseaudio, soxr }:
stdenv.mkDerivation rec {
2021-08-18 00:28:04 +01:00
version = "3.3.8";
pname = "shairport-sync";
src = fetchFromGitHub {
2021-08-18 00:28:04 +01:00
sha256 = "sha256-YxTJ3XEbBgOQqUJGGsjba2PjyTudWZiH9FqXlnvlsp0=";
rev = version;
repo = "shairport-sync";
owner = "mikebrady";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2017-07-30 16:14:46 +01:00
buildInputs = [
openssl
avahi
alsa-lib
libdaemon
popt
libconfig
libpulseaudio
soxr
];
enableParallelBuilding = true;
configureFlags = [
"--with-alsa" "--with-pipe" "--with-pa" "--with-stdout"
"--with-avahi" "--with-ssl=openssl" "--with-soxr"
"--without-configfiles"
"--sysconfdir=/etc"
];
meta = with lib; {
inherit (src.meta) homepage;
description = "Airtunes server and emulator with multi-room capabilities";
license = licenses.mit;
2017-07-30 16:14:46 +01:00
maintainers = with maintainers; [ lnl7 ];
platforms = platforms.unix;
};
}