mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
abfb6b46d9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/shairport-sync/versions
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
|
|
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.2.2";
|
|
name = "shairport-sync-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1cw6wybnh4sp3llzmam0zpd6fcmr9y6ykrirzygckp2iaglcqbcv";
|
|
rev = version;
|
|
repo = "shairport-sync";
|
|
owner = "mikebrady";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
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"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Airtunes server and emulator with multi-room capabilities";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lnl7 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|