mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
64f1c7ea98
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 3.1.7 with grep in /nix/store/8r3k0r8vf0wfpj14443pm1k0jddlnii2-shairport-sync-3.1.7 - found 3.1.7 in filename of file in /nix/store/8r3k0r8vf0wfpj14443pm1k0jddlnii2-shairport-sync-3.1.7
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.1.7";
|
|
name = "shairport-sync-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1ip8vlyly190fhcd55am5xvqisvch8mnw50xwbm663dapdb1f8ys";
|
|
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-pulseaudio --with-stdout
|
|
--with-avahi --with-ssl=openssl --with-soxr
|
|
--without-configfiles --without-initscript
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|