2022-02-12 02:55:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, fftw
|
|
|
|
, zita-convolver
|
|
|
|
, fftwFloat
|
|
|
|
, libsndfile
|
|
|
|
, ffmpeg
|
|
|
|
, alsa-lib
|
|
|
|
, libao
|
|
|
|
, libmad
|
|
|
|
, ladspaH
|
|
|
|
, libtool
|
|
|
|
, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dsp";
|
2022-07-07 09:37:16 +00:00
|
|
|
version = "1.9";
|
2022-02-12 02:55:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bmc0";
|
|
|
|
repo = "dsp";
|
|
|
|
rev = "v${version}";
|
2022-07-07 09:37:16 +00:00
|
|
|
sha256 = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY=";
|
2022-02-12 02:55:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
fftw
|
|
|
|
zita-convolver
|
|
|
|
fftwFloat
|
|
|
|
libsndfile
|
|
|
|
ffmpeg
|
|
|
|
alsa-lib
|
|
|
|
libao
|
|
|
|
libmad
|
|
|
|
ladspaH
|
|
|
|
libtool
|
|
|
|
libpulseaudio
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/bmc0/dsp";
|
|
|
|
description = "An audio processing program with an interactive mode";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ aaronjheng ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|