nixpkgs/pkgs/applications/audio/japa/default.nix

31 lines
896 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, alsaLib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }:
2016-04-04 22:01:20 +00:00
stdenv.mkDerivation rec {
version = "0.9.2";
pname = "japa";
2016-04-04 22:01:20 +00:00
src = fetchurl {
url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1zmi4wg23hwsypg3h6y3qb72cbrihqcs19qrbzgs5a67d13q4897";
2016-04-04 22:01:20 +00:00
};
buildInputs = [ alsaLib libjack2 fftwFloat libclthreads libclxclient libX11 libXft zita-alsa-pcmi ];
preConfigure = ''
cd ./source/
'';
makeFlags = [
"PREFIX=$(out)"
"SUFFIX=''"
];
meta = {
description = "A 'perceptual' or 'psychoacoustic' audio spectrum analyser for JACK and ALSA";
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
};
}