2021-06-10 03:57:09 +01:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, libjack2, zita-alsa-pcmi, zita-resampler }:
|
2020-03-28 12:59:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 11:34:30 +01:00
|
|
|
pname = "zita-ajbridge";
|
|
|
|
version = "0.8.4";
|
2020-03-28 12:59:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 11:34:30 +01:00
|
|
|
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
|
2020-04-12 20:59:17 +01:00
|
|
|
sha256 = "0g5v0l0zmqh049mhv62n8s5bpm0yrlby7mkxxhs5qwadp8v4w9mw";
|
2020-03-28 12:59:56 +00:00
|
|
|
};
|
|
|
|
|
2021-06-10 03:57:09 +01:00
|
|
|
buildInputs = [ alsa-lib libjack2 zita-alsa-pcmi zita-resampler ];
|
2020-03-28 12:59:56 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd ./source/
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"MANDIR=$(out)/share/man/man1"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-28 12:59:56 +00:00
|
|
|
description = "Connect additional ALSA devices to JACK";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html";
|
2020-03-28 12:59:56 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|