shairport-sync: 2.3.0 -> 2.3.6.5
- Enable additional backends: pipe, stdout - Support high-quality resampling with soxr - Support configuration files, but don't install one - Cut down on boilerplate code with fetchFromGitHub/autoreconfHook
This commit is contained in:
parent
e54d0371b9
commit
8ff60567ae
@ -1,36 +1,40 @@
|
|||||||
{ stdenv, fetchurl, openssl, avahi, alsaLib, libdaemon, autoconf, automake, libtool, popt, unzip, pkgconfig, libconfig, libpulseaudio }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, avahi, alsaLib
|
||||||
|
, libdaemon, popt, pkgconfig, libconfig, libpulseaudio, soxr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.3.0";
|
version = "2.3.6.5";
|
||||||
name = "shairport-sync-${version}";
|
name = "shairport-sync-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/mikebrady/shairport-sync/archive/${version}.zip";
|
sha256 = "1337y62pnch27s2gr47miip3na1am24xprlc5a27lbr764nr85s3";
|
||||||
sha256 = "1kslif2ifrn0frvi39d44wpn53sjahwq0xjc0hd98ycf3xbcgndg";
|
rev = version;
|
||||||
|
repo = "shairport-sync";
|
||||||
|
owner = "mikebrady";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
autoreconfHook
|
||||||
openssl
|
openssl
|
||||||
avahi
|
avahi
|
||||||
alsaLib
|
alsaLib
|
||||||
libdaemon
|
libdaemon
|
||||||
autoconf
|
|
||||||
automake
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
libtool
|
|
||||||
popt
|
popt
|
||||||
unzip
|
|
||||||
libconfig
|
libconfig
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
|
soxr
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = "autoreconf -vfi";
|
configureFlags = ''
|
||||||
configureFlags = "--with-alsa --with-avahi --with-ssl=openssl --without-initscript --with-pulseaudio";
|
--with-alsa --with-pipe --with-pulseaudio --with-stdout
|
||||||
|
--with-avahi --with-ssl=openssl --with-soxr
|
||||||
|
--without-configfiles --without-initscript
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/mikebrady/shairport-sync;
|
inherit (src.meta) homepage;
|
||||||
description = "Airtunes server and emulator with multi-room capabilities";
|
description = "Airtunes server and emulator with multi-room capabilities";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user