nixpkgs/pkgs/servers/shairport-sync/default.nix

45 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
, libdaemon, popt, pkg-config, libconfig, libpulseaudio, soxr }:
stdenv.mkDerivation rec {
2020-12-04 23:13:21 +00:00
version = "3.3.7";
pname = "shairport-sync";
src = fetchFromGitHub {
2020-12-04 23:13:21 +00:00
sha256 = "110k196y62zy6cmdvcnf74iamqj7jq0ybnqh1q1irjak81s3yz12";
rev = version;
repo = "shairport-sync";
owner = "mikebrady";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2017-07-30 15:14:46 +00:00
buildInputs = [
openssl
avahi
alsaLib
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 15:14:46 +00:00
maintainers = with maintainers; [ lnl7 ];
platforms = platforms.unix;
};
}