2021-06-10 02:57:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }:
|
2016-04-04 22:01:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-12 00:35:11 +00:00
|
|
|
version = "0.9.4";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "japa";
|
2016-04-04 22:01:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
|
2022-02-12 00:35:11 +00:00
|
|
|
sha256 = "sha256-t9wlZr+pE5u6yTpATWDQseC/rf4TFbtG0X9tnTdkB8I=";
|
2016-04-04 22:01:20 +00:00
|
|
|
};
|
|
|
|
|
2021-06-10 02:57:09 +00:00
|
|
|
buildInputs = [ alsa-lib libjack2 fftwFloat libclthreads libclxclient libX11 libXft zita-alsa-pcmi ];
|
2016-04-04 22:01:20 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd ./source/
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"SUFFIX=''"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A 'perceptual' or 'psychoacoustic' audio spectrum analyser for JACK and ALSA";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/index.html";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
|
|
platforms = lib.platforms.linux;
|
2016-04-04 22:01:20 +00:00
|
|
|
};
|
|
|
|
}
|