2015-04-22 15:28:37 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, libclthreads, libclxclient, libX11, libXft, libXrender, fftwFloat, freetype, fontconfig, jack2, xlibs, zita-alsa-pcmi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jaaa-${version}";
|
|
|
|
version = "0.8.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
|
|
|
|
sha256 = "0jyll4rkb6vja2widc340ww078rr24c6nmxbxdqvbxw409nccd01";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib libclthreads libclxclient libX11 libXft libXrender fftwFloat jack2 zita-alsa-pcmi
|
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-I${xlibs.xproto}/include"
|
|
|
|
"-I${libX11}/include"
|
|
|
|
"-I${libXft}/include"
|
|
|
|
"-I${freetype}/include"
|
|
|
|
"-I${fontconfig}/include"
|
|
|
|
"-I${libXrender}/include"
|
|
|
|
"-I${xlibs.renderproto}/include"
|
|
|
|
"-I${alsaLib}/include"
|
|
|
|
"-I${zita-alsa-pcmi}/include"
|
|
|
|
];
|
|
|
|
|
2015-05-28 06:57:38 +01:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"SUFFIX=''"
|
|
|
|
];
|
2015-04-22 15:28:37 +01:00
|
|
|
|
2015-05-28 06:57:38 +01:00
|
|
|
preConfigure = ''
|
|
|
|
cd ./source/
|
2015-04-22 15:28:37 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/index.html;
|
|
|
|
description = "JACK and ALSA Audio Analyser";
|
|
|
|
license = licenses.gpl2;
|
2015-05-28 06:57:38 +01:00
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
2015-04-22 15:28:37 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|