mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{ 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"
|
|
];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"SUFFIX=''"
|
|
];
|
|
|
|
preConfigure = ''
|
|
cd ./source/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/index.html;
|
|
description = "JACK and ALSA Audio Analyser";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|