nixpkgs/pkgs/applications/audio/zita-ajbridge/default.nix

32 lines
820 B
Nix
Raw Normal View History

2020-03-28 12:59:56 +00:00
{ stdenv, fetchurl, alsaLib, libjack2, zita-alsa-pcmi, zita-resampler }:
stdenv.mkDerivation rec {
2020-04-12 19:59:17 +00:00
name = "zita-ajbridge-0.8.4";
2020-03-28 12:59:56 +00:00
src = fetchurl {
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
2020-04-12 19:59:17 +00:00
sha256 = "0g5v0l0zmqh049mhv62n8s5bpm0yrlby7mkxxhs5qwadp8v4w9mw";
2020-03-28 12:59:56 +00:00
};
buildInputs = [ alsaLib libjack2 zita-alsa-pcmi zita-resampler ];
preConfigure = ''
cd ./source/
'';
makeFlags = [
"PREFIX=$(out)"
"MANDIR=$(out)/share/man/man1"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Connect additional ALSA devices to JACK";
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;
};
}